Fixed Bug

This commit is contained in:
Alex Orid 2021-04-09 21:49:59 -04:00
parent dbff4e9e3c
commit bf7947938c

View File

@ -26,7 +26,14 @@ class CommandRoll(AbstractCommand, metaclass=ABCMeta):
if "update" in tempParsedMessage[1]: if "update" in tempParsedMessage[1]:
chyron = chyron_module.Chyron_Module() chyron = chyron_module.Chyron_Module()
if i > 2: if i > 2:
chyron.main(tempParsedMessage[2]) rightNow = ""
counter = 0
for word in tempParsedMessage:
if counter > 1:
rightNow = rightNow + word + " "
counter = counter + 1
rightNow = rightNow[:-1]
chyron.main(rightNow)
else: else:
chyron.main() chyron.main()
chyron.updateChyronFile() chyron.updateChyronFile()