mirror of https://gitlab.com/gpvkt/twitchtts.git
Added --version parameter
This commit is contained in:
parent
cfe02ac7c7
commit
e0a513c2c4
6
tts.py
6
tts.py
|
@ -575,6 +575,12 @@ msg_queue = {}
|
|||
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(module)s %(threadName)s %(levelname)s: %(message)s')
|
||||
sys.tracebacklimit = 0
|
||||
|
||||
if sys.argv[1:]:
|
||||
if sys.argv[1] == "--version":
|
||||
print('Simple TTS Bot')
|
||||
print('Version 1.1.0')
|
||||
sys.exit(1)
|
||||
|
||||
def main():
|
||||
"""Main loop"""
|
||||
|
||||
|
|
Loading…
Reference in New Issue