- Model declaration can be done under
MODELSin the.envfile. Your choices are2022,2022abs,2024, and2024absor you can leave it blank and receive all four of them
git clone https://github.com/Zachdehooge/NadoBot.git- cd into the cloned directory and run
python -m venv venv - Ensure Discord is running
- Create a bot at: https://discord.com/developers/applications
- Click on the bot you created -> Bot -> Copy token
- Set envars in the
.envfileTOKENwith the value being your discord bot tokenURLwith the value beinghttp://data.nadocast.com/MODELS(can be left blank)
- Run
python3 main.py
-
In order to run Nadobot through Docker you will need to perform the following from where the
Dockerfileis located:- Clone the repo and cd into the directory
- Build the Image:
docker build -t Nadobot . - Run the Container:
docker run -d \ -e TOKEN=your_token_here \ -e URL=http://data.nadocast.com/ \ -e MODELS=your_model_here \ --name Nadobot Nadobot- Alternatively in the Docker GUI, set the envars there before creating the container
-
Alternatively
- Go to Dockerhub on Docker desktop and run the image