I'm having an issue where my bot wont give the respected role when a user reacts to the message correctly
@client.event
async def on_raw_reaction_add(payload):
# Get the user who added the reaction
guild = client.get_guild(payload.guild_id)
reacting_user = guild.get_member(payload.user_id)
# Get the message object for the reaction
channel = guild.get_channel(payload.channel_id)
message = await channel.fetch_message(payload.message_id)
# MESSAGE_ID defined in config file
if message == MESSAGE_ID:
if str(payload.emoji) == '