JBustos22 / DefragLive

Twitch bot for defraglive.
4 stars 2 forks source link

Comands are not working #54

Open neyoneit opened 3 years ago

neyoneit commented 3 years ago
09/20/2021 01:58:30 [CODE] Found defrag window.
09/20/2021 01:58:31 Unknown command "svinfo_report^7"
09/20/2021 01:58:31 Unknown command "svinfo_report^7"
09/20/2021 01:58:31 Unknown command "svinfo_report^7"
09/20/2021 01:58:31 Unknown command "svinfo_report^7"
09/20/2021 01:58:31 Unknown command "svinfo_report^7"
09/20/2021 01:58:31 Unknown command "svinfo_report^7"
09/20/2021 01:58:31 Unknown command "svinfo_report^7"
09/20/2021 01:58:31 Unknown command "svinfo_report^7"
09/20/2021 01:58:31 Unknown command "svinfo_report^7"
09/20/2021 01:58:31 Unknown command "svinfo_report^7"
09/20/2021 01:58:32 Successfully logged onto Twitch WS | defraglive
09/20/2021 01:58:32 [CODE] DefragLive is online!
09/20/2021 01:58:32 [CODE] Connecting to 83.243.73.220:27960...
09/20/2021 01:59:01 [CODE] TWITCH COMMAND RECEIVED: 'restart' from user 'neyoneit'
09/20/2021 01:59:01 [CODE] Connecting to 83.243.73.220:27960...
09/20/2021 01:59:01 Task exception was never retrieved
future: <Task finished coro=<event_message() done, defined at bot.py:95> exception=AttributeError("'NoneType' object has no attribute 'idle_counter'")>
Traceback (most recent call last):
  File "bot.py", line 116, in event_message
    await twitch_function(ctx, author, args)
  File "F:\DFTwitchBot-master\src\twitch_commands.py", line 38, in restart
    serverstate.connect(connect_ip)
  File "F:\DFTwitchBot-master\src\serverstate.py", line 379, in connect
    STATE.idle_counter = 0
AttributeError: 'NoneType' object has no attribute 'idle_counter'
09/20/2021 01:59:16 [CODE] TWITCH COMMAND RECEIVED: 'restart' from user 'neyoneit'
09/20/2021 01:59:17 [CODE] Connecting to 83.243.73.220:27960...
09/20/2021 01:59:17 Task exception was never retrieved
future: <Task finished coro=<event_message() done, defined at bot.py:95> exception=AttributeError("'NoneType' object has no attribute 'idle_counter'")>
Traceback (most recent call last):
  File "bot.py", line 116, in event_message
    await twitch_function(ctx, author, args)
  File "F:\DFTwitchBot-master\src\twitch_commands.py", line 38, in restart
    serverstate.connect(connect_ip)
  File "F:\DFTwitchBot-master\src\serverstate.py", line 379, in connect
    STATE.idle_counter = 0
AttributeError: 'NoneType' object has no attribute 'idle_counter'