Fix component wait

This commit is contained in:
Zeva Rose 2022-02-03 20:30:03 -07:00
parent 2a7259d1b8
commit 05ee5d4fad

View file

@ -111,7 +111,7 @@ class RolegiverCog(Scale):
context = await self.bot.wait_for_component( context = await self.bot.wait_for_component(
self.bot, self.bot,
check=lambda x: ctx.author.id == x.author.id, check=lambda x: ctx.author.id == x.author.id,
message=message, messages=message,
timeout=60 * 1, timeout=60 * 1,
) )
for to_delete in context.context.values: for to_delete in context.context.values: