Skip to content

Commit

Permalink
Fix reactions command
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Nov 9, 2022
1 parent 1360e5e commit 6f2660d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/reactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ async def _find_message(self, ctx: commands.Context, member: discord.Member = No
if message.author == member:
return message
else:
messages = await ctx.history(limit=2).flatten()
messages = [user async for user in ctx.history(limit=2)]
if len(messages) > 1:
return messages[1]
return None
Expand Down

0 comments on commit 6f2660d

Please sign in to comment.