Automation tools designed by Andrew Xie (2021) to improve internal workflow for UNSW Digital Society (DigiSoc).
Two main tools have been written to achieve this:
-
- We use a modified version of my general script to add additional functionality for automating generation of registration and attendance forms (with Google Sheets for analytics)
- Updates to the general script should be merged into the modified script to ensure latest functionalities and bug fixes
- NOTE: Please make sure to never commit secrets such as the Drive ID for the Google Drives folder, as well as the Discord Webhook URL
Webhook, requests channel, archives channel, events category, permissions, role names
Put your Discord bot token in a .env file
This can be found in https://discord.com/applications/{application_id}/bot
TOKEN=DISCORD_BOT_TOKEN
Build image
docker build -t digibot-image .
Create container from image
docker run digibot-image
add -d
flag for daemonised/detached process (in background)