mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Change heart queue timeout to 24 hours
This commit is contained in:
parent
7b9a62af45
commit
0b12630d06
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class MsG:
|
|||
|
||||
print('STOPPED : hearting')
|
||||
|
||||
async def queue_for_hearts(self, *, message=None, send=None, channel=None, reaction=True, timeout=60 * 60):
|
||||
async def queue_for_hearts(self, *, message=None, send=None, channel=None, reaction=True, timeout=60 * 60 * 24):
|
||||
def on_reaction(reaction, user):
|
||||
if reaction.emoji == '\N{HEAVY BLACK HEART}' and reaction.message.id == message.id and not user.bot:
|
||||
raise exc.Save(user)
|
||||
|
|
Loading…
Reference in a new issue