Update bot.py

This commit is contained in:
Tim Wilson 2020-08-25 12:28:01 -06:00 committed by GitHub
parent d0ff76ef39
commit 60537b6be9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
bot.py
View File

@ -43,7 +43,7 @@ TSCLIENT_CONFIG={
DRYRUN = False DRYRUN = False
REPEAT_FREQ = 5 # time in seconds to wait between reprinting repeated commands (in addition to the time requred to delete old message(s) and add reactions) REPEAT_FREQ = 5 # time in seconds to wait between reprinting repeated commands (in addition to the time requred to delete old message(s) and add reactions)
REPEAT_TIMEOUT = 45 # time in seconds before a repeated command automatically stops REPEAT_TIMEOUT = 1800 # time in seconds before a repeated command automatically stops
logging.basicConfig(format='%(asctime)s %(message)s',filename=join(expanduser("~"),'transmissionbot.log')) logging.basicConfig(format='%(asctime)s %(message)s',filename=join(expanduser("~"),'transmissionbot.log'))