A simple XKCD discord bot
After installation, you can use any of the following commands:
- Node.js
- A Discord account
- A server where you have moderation capabilities
- Command line and administrator(root/sudo) access
- A copy of this project downloaded and, if need be, extracted.
- Open
config.jsonand replaceINSERT_TOKEN_HEREwith your bot's token (Learn how to create the Discord Bot account and get its token here) - In the same file, replace
INSERT_CHANNEL_ID_HEREwith the channel ID you would like XKCD's to be delivered to. If you would like to not receive XKCD's when they appear, clear out the contents within the quotations so the line looks like this:"channel": "". - In your command line, run
npm installwhile in the XKCD bot folder. - Run
node xkcdbot.jsornodejs xkcdbot.js. You may need to run it withsudoon certain systems. - Join the bot to your server with the URL (Learn how to add a Discord bot to your server)
UDXS XKCDbot is distributed under the MIT license (available in LICENSE). Check the licenses of its NPM dependencies for more information.
XKCD is created of Randall Monroe and is available on XKCD.com. It is licensed under CC BY-NC 2.5.