I'm trying to get a bot to print the text of a discord message that a user has reacted to. This is what I have so far:
@bot.event
async def on_raw_reaction_add(payload):
print(payload)
channel = bot.get_channel(payload.channel_id)
await channel.fetch_message(payload.message_id)
print("message text here")
Weirdly the object await channel.fetch_message(id) sgives doesn't seem to include the text of the message.
id
in thefetch_message(id)
. – Nurqm