mirror of https://gitlab.com/gpvkt/twitchtts.git
Added --version parameter
This commit is contained in:
parent
5632eb6925
commit
5060d2a790
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