Go to file
Dryusdan e908459541
continuous-integration/drone/push Build is passing Details
Merge pull request 'Add random malediction' (#9) from main into stable
Reviewed-on: #9
2024-01-05 15:22:31 +01:00
src Add random malediction 2024-01-05 15:22:14 +01:00
.drone.yml Make bot 2024-01-04 17:13:21 +01:00
.gitignore Make bot 2024-01-04 17:13:21 +01:00
Dockerfile Fix typo 2024-01-04 17:32:02 +01:00
LICENSE Initial commit 2024-01-03 17:59:51 +01:00
README.md Improve readme 2024-01-04 17:18:40 +01:00
poetry.lock Add leaderboard 2024-01-05 11:57:24 +01:00
pyproject.toml Add leaderboard 2024-01-05 11:57:24 +01:00

README.md

discord-pschitt

A local bot for flat tire

Install it

Clone this repository.
Run db.sql in PostgreSQL.
You can run this project in docker or in standalone.

Standalone mode :

Create a file called config.yml in src/ with this info :

db:
  host: 127.0.0.1
  port: 5432
  dbname: biketag
  user: biketag
  password: 
discord:
  token: 
  app_id:
  guild_id: 

or source environment variable like docker mode

### Docker mode

Environment Value
DB_HOST Your database host
DB_PORT Your database port
DB_NAME Your database name
DB_USER Your database username
DB_PASS Your database password
DISCORD_TOKEN Your Discord bot token
DISCORD_APP_ID Your Discord Application ID
DISCORD_GUILD_ID Your guild ID