A simple answer bot written in Go that uses Twitch's IRC service to do most of the work. This project is meant to explain to anyone else trying to make a similar client all the weird setup crap Twitch makes you do with OAUTH2.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
twitch-irc-bot/config.json

28 lines
1.3 KiB

{
"ClientNick": "zedashaw",
"Channel": "ZedAShaw",
"Commands": {
"keyboard": "I use https://hhkeyboard.us/hhkb/pro-classic-type-s but I don't recommend it.",
"mic": "It's a Samson se50x https://samsontech.com/products/microphones/headworn-microphones/se50x/",
"site": "https://learncodethehardway.com/",
"help": "COMMANDS: !mic !keyboard !site !ai !lsp !linux !windows !neovim !gvim !vim",
"ai": "I don't use AI, or really anything, but I don't hate AI.",
"lsp": "I use only a Terminal and Vim, no LSP, AI, or many other tools.",
"linux": "I do use Linux, and I might have to totally switch if Microsoft forces Windows 11 on me.",
"windows": "I use Windows because 95% of the world uses Windows and I want to teach them to code.",
"neovim": "NeoVIM is trying too hard to be like VSCode instead of being a better Vim.",
"gvim": "I use gvim because it works on all my computers and I'm not a troglodyte who runs...vim in a terminal? Blech.",
"vim": "I'll get my vim config on my git repo in a bit.",
"instagram": "My paintings are at https://www.instagram.com/zed.a.shaw"
},
"Periodic": [
{
"Seconds": 1800,
"Message": "You can use !help to get help from my Twitch IRC bot."
},
{
"Seconds": 3300,
"Message": "I run 3 minute ads once an hour. Take a break during that time."
}
]
}