Steps:
-
Create a discord application bot at discord.com/developers
-
Get OAUTH2 scope for 'bot' and paste URL in link to add it to a server
-
Create base bot client and give it on_ready functions
-
Set up reddit client using praw and connect it to reddit bot account
- 5. git add .
- 6. git commit -m ""
- 7. git remote add origin [New Repository]
- 8. git remove -v
- 9. git push origin master
-
Iterate on code and create reqs doc using pipreqs . --force
-
set up vm using sudo apt-get install, install python, install screen, etc.
-
sudo apt-get update
-
sudo apt-get install screen
-
sudo apt-get install git
-
pip3 install requirements.txt
-
python3 -m pip3 install --upgrade pip
-
python3 -m pip3 install discord.py
-
python3 -m pip3 install pipreqs
- Run bot in screen