From abe45ee9fde5bb4faa90793b2f7c8c9c5c082566 Mon Sep 17 00:00:00 2001 From: Alvin Philips Date: Tue, 25 Oct 2022 04:55:23 +0530 Subject: [PATCH] feat: Added support for `?` and `!` reactions Pridebot is now 32% more intelligent. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a8930fe..4ade765 100644 --- a/main.py +++ b/main.py @@ -90,7 +90,7 @@ async def on_message(message): await message.reply(content=f"This bitch afk. YEET [*source* ]", delete_after=20) # split by spaces, commas, periods, etc to get the words in the string - string = re.split(r"[,:. \"'-]+", message.content.lower()) + string = re.split(r"[,:. \"'-!\?]+", message.content.lower()) #pridebot responding to a mention of its name aka 'the hotword' responses = ["hey homie", "sup mate?", "why'd you summon me, mate?", "sorry, im busy atm"]