Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 915 Bytes

File metadata and controls

18 lines (10 loc) · 915 Bytes

Pals Birthday Bot

Bot that manages birthday role in pals discord server. Written in rust using the serenity library.

The bot will, at the start of each minute, add and remove the birthday role as necessary. It also has a /upcoming_birthdays command.

Editing Birthdays

For privacy reasons, the config file with birthdays is not tracked on git. Message me if you need a change made.

Build/Deployment

This is mostly for my own reference since I don't think anyone else will run this. To avoid dockerhub, I have been building the image, uploading it over ssh/ftp, and running on the server.

  • docker-build.sh creates the image and exports a tarball
  • docker-deploy.sh is meant to be run on the server and loads the image, creates the container, adds the config, and runs the container (set to autorestart).

To update, stop the container and docker rm before running deploy script with new version.