Sheepolution / robot-trip

A bot for posting NOS Liveblog posts in Discord.
MIT License
0 stars 0 forks source link

Robot Trip

A Discord bot for posting NOS Liveblogs and article summaries in Discord.

This bot is hosted on a Discord server where you are able to subscribe to the channels to send the bot's messages to a channel in your own server. Leaving the server after doing so will not remove the subscription.

Join the server

Examples

Hosting the bot

  1. Install Node.js
  2. Open a terminal and navigate to the codefolder
  3. Run npm install to install all the dependencies.
  4. Run npm run-script build
  5. Make sure you have an .env file in your codedirectory. See example file below.
  6. Run npm run-script start

Example .env file

TOKEN=[Discord bot token]
CHANNEL_NEWS_ID=[Channel where to post news liveblogs]
CHANNEL_SPORTS_ID=[Channel where to post sports liveblogs]
CHANNEL_BINNENLAND_ID=[etc.]
CHANNEL_BUITENLAND_ID=123
CHANNEL_REGIONAAL_ID=123
CHANNEL_POLITIEK_ID=123
CHANNEL_ECONOMIE_ID=123
CHANNEL_KONINGSHUIS_ID=123
CHANNEL_TECH_ID=123
CHANNEL_CULTUUR_ID=123
CHANNEL_OPMERKELIJK_ID=123