Creating a Discord bot that adds a reaction to all messages

I’ve implemented a similar functionality in one of my Discord bots. You’re close with your current setup. To add the reaction, modify your on_message event like this:

@bot.event
async def on_message(message):
    if message.author == bot.user:
        return
    await message.add_reaction('🐦')
    await bot.process_commands(message)

This checks if the message isn’t from the bot itself, adds the pigeon emoji reaction, and allows other commands to be processed. Remember to enable the necessary intents in your bot’s Discord Developer Portal settings. Also, consider rate limiting to avoid potential API abuse.