SilenusTA / StreamRoller

Streaming Backend Software
GNU Affero General Public License v3.0
2 stars 2 forks source link

!randomfact crashed with a protocol deprecated error #10

Closed odyss3y closed 1 year ago

SilenusTA commented 1 year ago

I'll take a look at that, never seen that error so might be hard to debug. It should at least have a settings page to allow turning it off.

SilenusTA commented 1 year ago

Must be tired again, just realized the chat command !randomfact crashes and not the background timer one. Tried it and got the same crash. I'll have a look at it.


SyntaxError: Unexpected token A in JSON at position 0 at JSON.parse () at IncomingMessage. (file:///C:/repos/Streamroller/extensions/randomfact/randomfact.js:207:34)

SilenusTA commented 1 year ago

There were two errors in this, once I moved it to the new API I found that I had updated the twitchchat extension so the message format internally was wrong.