cleartonic / twitchtriviabot

Twitch Trivia Bot
MIT License
23 stars 13 forks source link

!Creator #7

Open oberstlynild opened 5 years ago

oberstlynild commented 5 years ago

the !creator command is not working and i cannot find code for it in the PY file neither. All i find when i search for "!creator" is the following:

COMMANDLIST = ["!triviastart","!triviaend","!top3","!hint","!bonus","!score","!next","!stop","!loadconfig","!backuptrivia","!loadtrivia","!creator"] # All commands

and

5: Creator

oberstlynild commented 5 years ago
    if cleanmessage == "!creator":
        msg = "Creator is: "+var.qs.iloc[var.session_questionno,4]
        sendmessage(msg)

Is what you need in youre code.

I put i below if cleanmessage == "!bonus": if var.session_bonusround == 0: trivia_startbonus() var.session_bonusround = 1 if var.session_bonusround == 1: trivia_endbonus() var.session_bonusround = 0

bonus btw not working for me neither... Or i mean standard it did not. When i activated it would turn off instantly, but i added sleep time after var.session_bonusround = 1