diff --git a/main.py b/main.py index 54cc054..dcbb9d6 100644 --- a/main.py +++ b/main.py @@ -29,8 +29,8 @@ async def on_ready(): # réagir a un message @bot.event async def on_message(message): - if message.author == bot.user: - return + #if message.author == bot.user: + #return if "quoi" in message.content[-10:].lower(): await message.channel.send(f"quoicoubeh {message.author.mention} !") if "j'aime" in message.content.lower()[:6]: @@ -127,4 +127,4 @@ async def add_colle(interaction:discord.Interaction, group:str, day:str, hour:st await interaction.response.send_message(embed=embed) # Lancer le bot -bot.run(os.getenv('BOT_TOKEN')) \ No newline at end of file +bot.run(os.getenv('BOT_TOKEN'))