CSSUoB / CSSUoB/TeX-Bot-Py-V2

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

Open
#235 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Python
Stars
1
Forks
11
Avg merge
20h 7m
Merged PRs (30d)
2

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.