What im trying to do: I want my bot to send a message when its mentioned, i don't wanna use it as prefix just send a single message when mentioned.
My problem: It only reacts to the when_mentioned
and will not react to the normal commands.
What i have tried:
@client.event
async def on_message(message):
if client.user.mentioned_in(message):
embed=discord.Embed(title=f"title)", color=0x7289da)
embed.set_thumbnail(url=thumbnailurl")
await message.channel.send(embed=embed)