mirror of
https://gitlab.com/ceda_ei/Quadnite-Bot
synced 2026-05-12 08:40:06 +02:00
20 lines
633 B
Python
20 lines
633 B
Python
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"],
|
|
]
|
|
)
|
|
)
|
|
)
|