This commit is contained in:
BarsTiger
2021-04-21 11:37:47 +03:00
parent 0769f50321
commit df53939110

12
main.py
View File

@@ -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")