Skip to content

scamper07/BroDiscordBot

Repository files navigation

BroDiscordBot

A simple discord bot created to learn Python

Python 3.9 GitHub contributors GitHub Workflow Status (with event) GitHub License GitHub repo size pre-commit code style: black

Getting Started

Pre requisites

  1. Create a Bot application at Discord Developer Portal and copy client secret
  2. Software
    • Python 3.9 or higher
    • Make
    • Docker (optional)

Manual setup

  1. Clone the repo:

    git clone https://github.com/scamper07/BroDiscordBot.git
    cd BroDiscordBot
    
  2. Setup virtual environment

    make setup-venv
    
  3. Activate the environment

    a. On Linux

    source bot-env/bin/activate
    

    b. On Windows

    bot-env\Scripts\activate
    
  4. Install package requirements

    make setup
    
  5. Save client secret in DISCORD_BOT_TOKEN environment variable

  6. Start the bot

    make run
    

Or

Automated setup using Docker

  1. Run the following command
    docker-compose up -d --build --force-recreate bro
    

Done!

Releases

No releases published

Packages

No packages published

Languages