Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 898 Bytes

README.rst

File metadata and controls

30 lines (25 loc) · 898 Bytes

bradbot

Discord Bot & Raspberry Pi Hosting Experiment

The goal of this project is to practice building a discord bot in Python, and to host it using the Raspberry Pi Zero W.

Setup

  1. Install poetry
  2. git clone [email protected]:brad90four/bradbot.git
  3. Run poetry shell
  4. Run poetry install
  5. Run pre-commit install
  6. Have a .env file set up with the variables below:
    • TOKEN
    • SERVER
    • DEV_LOG (channel ID for the on_ready event)

Running the bot locally

  1. From the command line, cd to the src folder.
  2. Run py -m bradbot

Adding .gitmessage to commit template

  1. cd to the main folder of bradbot
  2. git config --local commit.template ./.gitmessage