import random from deltachat2 import NewMsgEvent from quadnite_bot.command import Command, Context class ResponseCommands(Command): commands = ["is", "are", "can", "will", "shall", "was", "do", "does", "did", "should"] def process_event(self, ctx: Context, event: NewMsgEvent) -> None: ctx.reply( random.choice( random.choice( [ ["Yes", "Yep", "Yeah", "Yus", "Ja", "Ya", "Aye", "Ay", "Oui"], ["No", "Nopes", "Nu", "Nah", "Nein", "Naw", "Nay", "Yesn't"], ] ) ) )