Role Management - Achievement Roles
WIP Merge Request: !3 (closed)
Things to consider:
- Bot needs role management permissions
- How many roles?
- Let the bot create roles?
- Main mode GMs/S13
- Secret Grade? Big mode? When are we going too far? Start small?
- Database stuff
- User -> discord account relationship
- How to associate discord user to tgmrank user?
- Setting page -> OAuth2 implicit workflow
- How to associate discord user to tgmrank user?
- Discord channel -> Available Roles?
- How generic do we want to make this? The bot could have some hard coded stuff...
- User -> discord account relationship
- Push vs pull (polling) architecture
- Pushing changes to the bot may be overkill
- Super overkill: Message queue
- Bot needs a listening service
- Update hooks to push messages
- Pull
- API Endpoint for list of updates
- Contract?
- Less real-time, but probably good enough
- Backend - need to implement some sort of authentication for the bot
- API keys
- Auth tokens
- Hostname whitelisting
- API Endpoint for list of updates
- Types of changes to monitor for
- Score status changes
- Score submissions
- Account associations
- Register/Unregister
- Pushing changes to the bot may be overkill
Edited by MHL