1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-11-01 21:02:38 +00:00

Increased hearting timeout to 1 hour

This commit is contained in:
Myned 2017-12-10 17:14:49 -05:00
parent 7446986f84
commit 679975f9df

View file

@ -142,8 +142,8 @@ class MsG:
while self.hearting:
try:
await asyncio.gather(*[self.bot.wait_for('reaction_add', check=on_reaction, timeout=7 * 60),
self.bot.wait_for('reaction_remove', check=on_reaction, timeout=7 * 60)])
await asyncio.gather(*[self.bot.wait_for('reaction_add', check=on_reaction, timeout=60 * 60),
self.bot.wait_for('reaction_remove', check=on_reaction, timeout=60 * 60)])
except exc.Save as e:
await self.heartqueue.put((e.user, send))