Fix component wait
This commit is contained in:
parent
2a7259d1b8
commit
05ee5d4fad
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class RolegiverCog(Scale):
|
|||
context = await self.bot.wait_for_component(
|
||||
self.bot,
|
||||
check=lambda x: ctx.author.id == x.author.id,
|
||||
message=message,
|
||||
messages=message,
|
||||
timeout=60 * 1,
|
||||
)
|
||||
for to_delete in context.context.values:
|
||||
|
|
Loading…
Add table
Reference in a new issue