A DiscordJS bot sending messages in a specific Discord channel if a specific streamer is online, can also be configured to query verified runs posted by somebody on speedrun.com
There is no need to be an expert for that since it's a Discord Bot so if you follow these guidelines you should be fine :
- Dowload the last version (in release section)
- Open the folder and edit the
config.default.json
file to match your settings (see the section below for more details) - Rename your configuration file to
config.json
- Use
npm install
to install needed dependencies. - Run
index.js
There you go!
Some more details :
ADMIN_ID
is an array fullfilled with Discord IDs as integer, so no need to put them as a string.DISCORD_CHANNEL_ID
s are where your notifications will be sent IDs need to be a string so keep the quotes.- About Twitch API, just take a look at this repository for more details and how to fill
HEADERS
section. RUNNER_APIKEY
is found on your speedrun.com profile in the Developper section which you can find by scrolling down a bit.
-
For any suggestion I let you open an issue maybe I will take a look but no guarantee!
-
If you have any problem (which is due to my code not during your setup) I let you open an issue as well or if more sensitive please send a mail at [email protected]