Repository for the UNHM programming club discord bot
34.68.101.38
-
please contact bryan for first time login info (the best place to reach me is by text at: 603-260-2566)
-
once logged in use the following to change your password:
sudo passwd [USER]
-
repository can be found at /home/
###PLEASE AVOID USING GIT ADD *, NEVER USE GIT ADD .
sudo screen -x bot
* add the name of the module to the text file pip_update
* if multiple modules are added seperate them via newline
1. There is a file named "keys.txt" that must be downloaded and placed in the folder you are holding the testing bot in
it can be found pinned in the "bot testing" channel in the discord or by contacting Bryan.
The file has been included in the .gitignore so Github will automaticly ignore this file
when pushing as including it would create a security vulnerability.
* please check that the testing bot is currently offline before beginning
1. change the variable 'testing' in bot.py to True
* this changed the token to use the testing bot on the server
* as well it changes the bot prefix to '?'
2. run the bot.py script with the changes you're testing on
your local machine
3. once changes are confirmed working change 'testing' to False
* push your changes to the github page
4. push to github (server will autodeploy update)
- see the discord.py api wrapper documentation:
https://discordpy.readthedocs.io/en/latest/index.html