From ec2b14d12fb0577fc2082c1df2a0a1b67ad15dbd Mon Sep 17 00:00:00 2001 From: Nick80835 Date: Sat, 25 Jul 2020 14:15:34 -0400 Subject: [PATCH] im stuff --- ubot/modules/fun.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ubot/modules/fun.py b/ubot/modules/fun.py index c239ddb..5348fb7 100644 --- a/ubot/modules/fun.py +++ b/ubot/modules/fun.py @@ -31,6 +31,12 @@ async def ask_bot(event): await event.reply(choice(yesno_answers)) +@ldr.add(f"i('|)m", simple_pattern=True, hide_help=True, chance=15) +async def im_botname(event): + if event.args: + await event.reply(f"Hi {event.args}, I'm {bot_name}!") + + @ldr.add(f"{bot_name}(,|) say", simple_pattern=True, hide_help=True) async def say_something(event): if event.args: