mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 14:47:29 +00:00
Increased hearting timeout to 1 hour
This commit is contained in:
parent
7446986f84
commit
679975f9df
1 changed files with 2 additions and 2 deletions
|
@ -142,8 +142,8 @@ class MsG:
|
||||||
|
|
||||||
while self.hearting:
|
while self.hearting:
|
||||||
try:
|
try:
|
||||||
await asyncio.gather(*[self.bot.wait_for('reaction_add', 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=7 * 60)])
|
self.bot.wait_for('reaction_remove', check=on_reaction, timeout=60 * 60)])
|
||||||
|
|
||||||
except exc.Save as e:
|
except exc.Save as e:
|
||||||
await self.heartqueue.put((e.user, send))
|
await self.heartqueue.put((e.user, send))
|
||||||
|
|
Loading…
Reference in a new issue