CSSUoB / CSSUoB/TeX-Bot-Py-V2

Add extra check to bot startup to ensure all roles within `STATISTICS_ROLES` list exists

Abierto
#235 0 comentarios 0 reacciones 0 asignados Ver en GitHub
good first issue
Lenguaje dominante
Python
Estrellas
1
Forks
11
Merge medio
20 h 7 min
PR fusionados (30 d)
2

Descripción

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).

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
backend
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.