1
1
mirror of https://gitlab.com/ceda_ei/Quadnite-Bot synced 2026-05-12 08:40:06 +02:00

Add absurdify, dice, random commands, response commands

This commit is contained in:
2026-05-09 09:06:47 +02:00
parent af03a53e21
commit c41ab294e9
5 changed files with 168 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
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"],
]
)
)
)