NOTE: THIS BOT WAS CREATED BEFORE LIVECODING IMPLEMENTED THEIR API. THIS IS NOT MAINTAINED. THIS MIGHT NOT WORK ANYMORE, THE CODE IS OLD!
Basic chat bot for LiveCoding.tv
- First you have to open the chat in a new window, you can do that by accessing https://www.livecoding.tv/chat/username/, where
usernameis your, well, username... - Now open the JavaScript console (CTRL+SHIFT+I on Chrome) and paste the entire code from
chatBot.jsfile into the it and press eter. - The bot should now work as long as you keep the page opened.
- You, as the bot runner, can write
!game startor!game stopto start or stop a simple trivia game included. - You can set any command as
key->value. Example, setting therepokey:
!set-repo https://github.com/Cristy94/livecoding-chat-bot
!repo
- The bot will welcome people.
!leaderboardto see the current leader of the game.!timewill respond with the current time in the streamer's timezone.- The bot will never interrupt you when writing.