From 68f974bbb4ac2ba65a1b7a149f07adbdeadf0226 Mon Sep 17 00:00:00 2001 From: ledinhchinh0212 Date: Sun, 24 Nov 2024 14:41:06 +0700 Subject: [PATCH] add more case text --- message.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/message.py b/message.py index 5c6f300..3bc9695 100644 --- a/message.py +++ b/message.py @@ -26,6 +26,12 @@ async def on_message_event(message, bot): if not message.author.bot and re.search(r'\bching bel\b$', message.content.lower()): await message.channel.send('Co m bel ay') + if not message.author.bot and re.search(r'\bching beo\b$', message.content.lower()): + await message.channel.send('Co m bel ay') + + if not message.author.bot and re.search(r'\bchinh beo\b$', message.content.lower()): + await message.channel.send('Co m bel ay') + if bot.user.mentioned_in(message) and not message.author.bot: hello_message = await message.channel.send("Nhấn `/help` để biết thêm thông tin !")