Add extra check to bot startup to ensure all roles within `STATISTICS_ROLES` list exists
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 11
- Merge medio
- 20h 7m
- PR unite (30g)
- 2
Descrizione
This check will need to be performed in both the `on_ready` event, and also within the future command that will allow changing of config variables (likely to be `/config set `), implemented within #221.
It has to be called from the event/command side rather than from within the config variable loading process, because the config loading is done before the connection to Discord is made (so the existent roles could not be retrieved).
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by locating the Python bot's on_ready event and the configuration command planned in #221. Read how STATISTICS_ROLES is loaded and how Discord roles can be retrieved after connection. Done means both startup and configuration changes check that every role named in STATISTICS_ROLES exists.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- backend
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100