From df53939110a7f60758283b397aff989d002fc061 Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Wed, 21 Apr 2021 11:37:47 +0300 Subject: [PATCH] 1 --- main.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index df29a68..e26712c 100644 --- a/main.py +++ b/main.py @@ -709,12 +709,18 @@ class Answers(commands.Cog): if message.author == bot.user: return - if message.content.startswith('hello'): + if "hello" in message.content: await message.channel.send('Hello!') - if message.content.startswith('aboba') or message.content.startswith('ABOBA'): + if "ABOBA" in message.content or "aboba" in message.content: await message.channel.send( ':regional_indicator_a: :regional_indicator_b: :regional_indicator_o: :regional_indicator_b: :regional_indicator_a:') + await message.add_reaction("<:A_:834325182332141581>") + await message.add_reaction("<:B_:834325182658904124>") + await message.add_reaction("<:O_:834346623923388456>") + await message.add_reaction("<:B2:834346698763010078>") + await message.add_reaction("<:A1:834346603711955014>") + ######################################################################################################################## @@ -729,4 +735,4 @@ async def on_ready(): bot.add_cog(Music(bot)) bot.add_cog(Answers(bot)) -bot.run(token) +bot.run("ODI5OTk2MzM3NjEyNzE4MTEw.YHAQUw.UoEzhz7fVG3Wqfr2IhrE14oNqEE")