Just-Some-Bots / MusicBot

:musical_note: The original MusicBot for Discord (formerly SexualRhinoceros/MusicBot)
https://just-some-bots.github.io/MusicBot/
MIT License
3.09k stars 2.35k forks source link

Add commands for config and permission editing and reloading. #2397

Closed itsTheFae closed 2 months ago

itsTheFae commented 3 months ago

Description

This PR adds a new dependency on the configupdater package. The new package enables updating the config and permissions ini files without destroying comments and other modifications made by users in these files. There are two new commands:

Additionally, this PR converts the remaining file paths and some other hard-coded strings in permissions into definitions in the constants.py file.

Related issues

Should close #730 and #362