Redbeansoup-bot
Actually, port of the Descalendrier website into a discord bot.
It uses the API created by @JiveOff to collect calendar data, and Discordeno lib as the bot framework.
Run Bot from command line
Create a .env file :
# Your app id
clientId=
# Your app's bot token
BOT_TOKEN=
# A guild you are using for __development__
DEV_GUILD_ID=
Then, make sure Deno is installed
$ deno run -A --no-check mod.ts
If you don't want to copy paste the command above, you can also download pm2 and start the ecosystem file :
$ pm2 start
Run bot using docker
Clone the repo, enter the dir, build the image :
$ docker build -t redbeansoup-image .
Run the image :
# it if it's *not* the first time, make sure to do `docker rm redbeansoup-image` before
$ docker run -it --env-file .env --name redbeansoup redbeansoup-image