Skip to content

Partition/pplbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple setup

Install dependencies

In the project directory, run:

pip install -r requirements.txt

Set up database

Create a new database and user in postgres and update the .env file with the correct credentials. https://youtu.be/KuQUNHCeKCk

Set up environment variables

Create a .env file in the root of the project with the following variables:

DB_USER=<your_database_user>
DB_PASSWORD=<your_database_password>
DB_HOST=<your_database_host>
DB_PORT=<your_database_port>
DB_NAME=<your_database_name>
BOT_TOKEN=<your_discord_bot_token>
BOT_READY_CHANNEL_ID=<your_discord_channel_id>

Running the bot

then run (or play button in IDE):

python bot.py

Enjoy!

About

a simple discord bot for Paragon Phoenix league. discord.py, SQLAlchemy. that's it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages