Type
- [X] Bugfix
- [ ] Enhancement
- [ ] New feature
Description of the changes
This is technically a fix. This closes #3136
3136 isn't what we had in mind when handling config as a singleton (and we don't intend for people to think accessing other cog's data should be done without that cog being designed for it), but we should be preventing reinitialization of existing config objects from this.
This also removes the potential for an error to be raised in a safe case of using init_group multiple times in the same config object, allowing multiple cogs to more safely share a config object if related.
It will still error if you try to change the identifier count of a group as this would be unsafe.
该提问来源于开源项目:Cog-Creators/Red-DiscordBot