diff --git a/plugins/reactions.py b/plugins/reactions.py index 0afb148b..5f7a988b 100644 --- a/plugins/reactions.py +++ b/plugins/reactions.py @@ -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