Edit configs from discord. #21

Closed
opened 2023-07-29 19:30:10 -04:00 by imcompiling · 3 comments
Owner

Want the admins to be able to edit the configs via discord commands. This just requires the config object to be globally available and to save the configs when they change.

Want the admins to be able to edit the configs via discord commands. This just requires the config object to be globally available and to save the configs when they change.
imcompiling added the enhancement label 2023-09-09 13:57:04 -04:00
Author
Owner

Decided to move away from Hydra. Elected to just use the dataclass as a global variable that is updated and saved. Using dataclass wizard to easily load/save the yaml file.

Decided to move away from Hydra. Elected to just use the dataclass as a global variable that is updated and saved. Using dataclass wizard to easily load/save the yaml file.
imcompiling added reference 21-edit-configs-from-discord 2024-09-03 14:38:39 -04:00
Author
Owner

Making changes to the yaml file for better clarification/usability. Will need to manually update it.

Making changes to the yaml file for better clarification/usability. Will need to manually update it.
Author
Owner

All work for migrating config is done and bot works as far as I can tell. I didn't test everything, but I scoured the code and removed all references to old config.

Next step is to add the method to edit configs through commands for admins. Probably want to be able to set all roles, channels, and the event options.

All work for migrating config is done and bot works as far as I can tell. I didn't test everything, but I scoured the code and removed all references to old config. Next step is to add the method to edit configs through commands for admins. Probably want to be able to set all roles, channels, and the event options.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: imcompiling/dakiny-bot#21