mirror of
https://github.com/Nick80835/microbot
synced 2025-08-31 14:38:04 +00:00
add some garbage
This commit is contained in:
24
ubot/modules/fun.py
Normal file
24
ubot/modules/fun.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
from random import choice
|
||||
|
||||
from ubot.micro_bot import ldr
|
||||
|
||||
bot_name = ldr.settings.get_config("bot_name") or "bot"
|
||||
|
||||
yesno_answers = [
|
||||
"Yes!", "Yup!", "Yeah!", "Mhmm...", "I guess",
|
||||
"Sure, buddy", "No!", "No..?", "Nah", "Nope",
|
||||
"Probably not..", "y tho", "I don't care..",
|
||||
"Maybe", "Is this a trick question?", "bruh",
|
||||
"Perhaps", "Mhm", "Yuppers", "Yaaas", "Nu",
|
||||
"Nuh uh", "You don't wanna know", "Suuuuuure",
|
||||
"How would I know", "Probably", "Sure", "idk",
|
||||
"Sure, I guess", "Why not"
|
||||
]
|
||||
|
||||
|
||||
@ldr.add(f"{bot_name}(,|) (are|am|is|will|should|can|have|was|were|does|did|may|do)", simple_pattern=True)
|
||||
async def ask_bot(event):
|
||||
if event.args:
|
||||
await event.reply(choice(yesno_answers))
|
Reference in New Issue
Block a user