mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-15 10:10:12 +00:00
Change various timeouts to 5 minutes instead of 1
This commit is contained in:
parent
a9a9fb018e
commit
b4bc1f1263
4 changed files with 5 additions and 5 deletions
|
|
@ -162,7 +162,7 @@ async def member_delete(ctx: CommandContext):
|
|||
"Are you sure you want to delete {}? If so, reply to this message with the member's ID (`{}`).".format(
|
||||
member.name, member.hid))
|
||||
|
||||
msg = await ctx.client.wait_for_message(author=ctx.message.author, channel=ctx.message.channel, timeout=60.0)
|
||||
msg = await ctx.client.wait_for_message(author=ctx.message.author, channel=ctx.message.channel, timeout=60.0 * 5)
|
||||
if msg and msg.content.lower() == member.hid.lower():
|
||||
await db.delete_member(ctx.conn, member_id=member.id)
|
||||
return CommandSuccess("Member deleted.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue