Skip to content Skip to sidebar Skip to footer

'RawReactionActionEvent' Object Has No Attribute 'message'

Im creating a python discord bot, and im trying to create a raw reaction event. @client.event async def on_raw_reaction_add(payload): if payload.message.id == 78795225929167667

Solution 1:

on_raw_reaction_add it's called regardless of the state of the internal message cache. So it's logic that there is not a message attribute, the attribute that you're looking for is message_id


Post a Comment for "'RawReactionActionEvent' Object Has No Attribute 'message'"