Skip to content Skip to sidebar Skip to footer

How Do I Get My Bot To Respond Only To Reactions On A Specific Message? | Discord.py

I'm trying to implement a bot for a friend in which the 'info' command would show a user's info on one embed page and the next would show any characters the user owns (read through

Solution 1:

mx == reaction.message should also be part of the return statement.

Fixed code:

defcheck(reaction, user):
    return user == ctx.author andstr(reaction.emoji) in ["◀", "▶"] and mx == reaction.message

Post a Comment for "How Do I Get My Bot To Respond Only To Reactions On A Specific Message? | Discord.py"