2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-23 10:38:51 +00:00

25 lines
765 B
Python
Raw Normal View History

2020-06-26 19:18:04 -04:00
# 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))