Skip to content

Commit

Permalink
add more case text
Browse files Browse the repository at this point in the history
  • Loading branch information
MegumiKatou02 committed Nov 24, 2024
1 parent 41d1919 commit 68f974b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions message.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 !")

Expand Down

0 comments on commit 68f974b

Please sign in to comment.