Skip to content

Zachdehooge/NadoBot

Repository files navigation

NadoBot

CI/CD Pipeline

Alt

Models

  • Model declaration can be done under MODELS in the .env file. Your choices are 2022, 2022abs, 2024, and 2024abs or you can leave it blank and receive all four of them

Build From Source

  • git clone https://github.com/Zachdehooge/NadoBot.git
  • cd into the cloned directory and runpython -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 .env file
    • TOKEN with the value being your discord bot token
    • URL with the value being http://data.nadocast.com/
    • MODELS (can be left blank)
  • Run python3 main.py

Docker Containerization

  • In order to run Nadobot through Docker you will need to perform the following from where the Dockerfile is 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

About

A Discord.py bot that pulls nadocast data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •