Discord bot for creating Handshake sites
Go to file
2023-08-08 09:53:51 +10:00
.gitignore gitignore: Ignore python and env files 2023-08-07 14:45:23 +10:00
bot.py bot: Regular expressions to lower chances of errors 2023-08-08 09:53:51 +10:00
delete.sh bot: Added bot files 2023-08-07 14:47:26 +10:00
git.sh bot: Added bot files 2023-08-07 14:47:26 +10:00
gitpull.sh bot: Added bot files 2023-08-07 14:47:26 +10:00
LICENSE.md Initial commit 2023-08-07 14:43:41 +10:00
proxy.sh bot: Added bot files 2023-08-07 14:47:26 +10:00
README.md readme: Added info on script permissions 2023-08-07 14:58:26 +10:00
requirements.txt bot: Added bot files 2023-08-07 14:47:26 +10:00
tlsa.sh bot: Added bot files 2023-08-07 14:47:26 +10:00

HNS Hosting Discord Bot

Setup

Install the python requirements with pip install -r requirements.txt Add your discord token to a .env file in the root directory of the project

DISCORD_TOKEN=your_token_here

Install nginx

sudo apt update
sudo apt install nginx -y

Add permissions to run the bash scripts

chmod +x *.sh

Run

You can run the bot with

python3 main.py

To run the bot in the background, you can use screen

screen -S bot
python3 main.py

Close the screen with Ctrl + A + D (keeps the process running) Resume the screen with screen -r bot