Skip to content

A Discord Bot that sends a daily notification of your DCU timetable

Notifications You must be signed in to change notification settings

DistroByte/calendarbot

Repository files navigation

calendarbot

Get started

Fill in .env with the variables BOT_TOKEN, APPLICATION_ID and GUILD_ID (optionally, if you want to register guild commands). Then run register-bot-commands.js.

Managing commands

Run register-bot-commands.js and it will register everything in bot-commands.json (which is filled out with all the commands already). delete-bot-commands.js takes every command ID in command-ids.txt (separated by whitespace) and unregisters them. Both programs default to global application commands, which is what you probably want unless you're debugging. Specify -g as a commandline argument to switch to registering to (or deleting from) a specific server.

Also, fetch was added to NodeJS in v17.5, so don't use any super old Node installs.

About

A Discord Bot that sends a daily notification of your DCU timetable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published