Skip to content

afup/hermes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hermes

Carpooling Discord bot made for the AFUP events.

Getting Started

You will require:

app/bin/console hermes:register
app/bin/console hermes:event # will create the event you need
app/bin/console hermes:bot

And the bot is running for your event ! 🚗

Available commands

Admin

Theses commands are only allowed to users that are flagged as admin.

  • /admin_add {user} Add an user as admin for this bot
  • /admin_remove {user} Removes an user as admin for this bot

Contributing

Everyone is free to contribute to this repository.

Please check coding style and phpstan before opening a pull request:

castor tools:install # will install php-cs-fixer / phpstan
castor tools:cs-fix # will fix coding style
castor tools:cs-check # will check for coding style
castor tools:phpstan # will run static analysis

Database

You'll need to run a local Postgres database. I recommend using Docker for this: docker run -e POSTGRES_USER=afup -e POSTGRES_PASSWORD=p4ssw0rd --network host postgres:16.2

Database overview

Was done thanks to https://drawdb.vercel.app/editor, imported schema can be found in assets/database_overview.ddb.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages