hex337 / alex-koin-go

MIT License
2 stars 1 forks source link

Add ability to set koin admin and koin lords #6

Closed hex337 closed 3 years ago

hex337 commented 3 years ago

To add the ability to create koin, we need to set up the permissions levels.

The admin and lord ids should come from an environment variable, and wherever we are parsing commands, we want to have access to some helper methods like is_koin_admin and is_koin_lord to determine if the person trying the command is either.