Hacksoc Bot
Discord Server
Discord bot for the Abertay HacksocContributions Policy
Contributions from Hacksoc members are welcome!
Please feel free to fork the public repo to create your own development repo. If you wish to add this into the Hacksoc bot dev server, please speak to the secretary.
When deploying:
- Go to the Discord Developer portal and create a bot. Take note of the token!
- Clone your local copy of the repository to a development machine (a linux VM is ideal for this, as you can also create a MySQL Database)
- Create a
config/secrets.json
file (there is a template provided atconfig/secrets.json.template
). This should include:- Credentials for a local MySQL Database
- The Bot Token you noted down earlier
- Update channel/guild IDs in the "env" section of the
config/config.json
file. Speak to the secretary about getting a premade version for the Hacksoc Bot Dev Server - Initialise your MySQL database locally by running the
config/init.sql
script. - Run the
main.py
script. - Your bot should now be deployed!
To Do:
- Add Multi-language support
- Set up decent logging
- Add AGM Commands