Increase cooldown
This commit is contained in:
parent
4cc057ea57
commit
7d5d68e29c
2
main.py
2
main.py
|
@ -43,7 +43,7 @@ async def play_sound(filename):
|
||||||
|
|
||||||
async def barkbark(sound):
|
async def barkbark(sound):
|
||||||
global COOLDOWN
|
global COOLDOWN
|
||||||
if time.time() - COOLDOWN < 15.0:
|
if time.time() - COOLDOWN < 20.0:
|
||||||
logging.info('Cooldown skipping.')
|
logging.info('Cooldown skipping.')
|
||||||
return
|
return
|
||||||
COOLDOWN = time.time()
|
COOLDOWN = time.time()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user