This is an extremely simple Discord bot based on the Chariot.js framework for the Mathi community guild on Discord. Its main purpose is to deliver information about the gear, settings and specifications of the top osu! player Mathi & notifying the guild when he goes live on Twitch by mentioning everyone in the guild in a specified announcements channel.
As this is a really specific bot, I don't particularly see the usecase for self hosting this, however in case someone wants to fiddle around with it anyway, it's the usual:
- Initialize your project with
npm init - Clone the repo into your working directory
- Run
npm installto install all dependencies (Mainlychariot.jsandtwitchps) - Plug in your Discord bot's token and your Discord ID in the
index.jsfile - Run the bot with
node index.js
I won't provide any support for this repository as it's basically just a specialty bot for a single guild and not meant to be used over and over again. However if you want to use the Twitch PubSub code for a custom Discord + Twitch notification bot feel free to do so, as this repository is licensed under the MIT License and can be freely reused in any way.