[x] I have tested my changes against the dev branch (the latest developmental version), and this pull request is targeting that branch as a base
[x] I have tested my changes on Python 3.8 or higher
[x] I have ensured my code is formatted using Black
Description
This PR focuses on refactor of the bots internal config and server (specific) data handling. It also adds the ground work for song and user block list features, which will be implemented in a later PR. (consequently they and the previous blacklist feature will not be working in this PR!)
Most of the file paths have been converted to constants, so they are both easier to fiddle with and easier to maintain.
An ExtendedConfigParser class has been added to help in reading and validating config into their expected types.
Permissions config now also uses the extended config parser for consistency sake.
dev
branch (the latest developmental version), and this pull request is targeting that branch as a baseDescription
This PR focuses on refactor of the bots internal config and server (specific) data handling. It also adds the ground work for song and user block list features, which will be implemented in a later PR. (consequently they and the previous blacklist feature will not be working in this PR!)
Most of the file paths have been converted to constants, so they are both easier to fiddle with and easier to maintain.
An
ExtendedConfigParser
class has been added to help in reading and validating config into their expected types. Permissions config now also uses the extended config parser for consistency sake.