From 5cef7b79c0930ed45281c73eafc839aeed22e29c Mon Sep 17 00:00:00 2001 From: Nick80835 Date: Wed, 16 Sep 2020 17:47:41 -0400 Subject: [PATCH] unbab --- ubot/modules/fun.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ubot/modules/fun.py b/ubot/modules/fun.py index 80aea01..c27c340 100644 --- a/ubot/modules/fun.py +++ b/ubot/modules/fun.py @@ -85,6 +85,14 @@ async def bab(event): await event.reply("Who am I supposed to bab?") +@ldr.add("unbab", hide_help=True, fun=True) +async def unbab(event): + if event.is_reply: + await (await event.get_reply_message()).reply("You've been unbabbed!") + else: + await event.reply("Who am I supposed to unbab?") + + @ldr.add("(^| )moo( |$)", raw_pattern=True, hide_help=True, chance=25, fun=True) async def moo(event): await event.reply(choice(moo_answers))