Change various timeouts to 5 minutes instead of 1

This commit is contained in:
Ske 2018-09-07 23:21:12 +02:00
parent a9a9fb018e
commit b4bc1f1263
4 changed files with 5 additions and 5 deletions

View file

@ -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.")