mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[Docs] Fix driver docs showing twice (#3035)
* docs(config): fix doubled docs for drivers * enhance(drivers): add docstrings to enums that show in docs * chore(changelog): add towncrier entries
This commit is contained in:
@@ -6,11 +6,19 @@ __all__ = ["BaseDriver", "IdentifierData", "ConfigCategory"]
|
||||
|
||||
|
||||
class ConfigCategory(str, enum.Enum):
|
||||
"""Represents config category."""
|
||||
|
||||
#: Global category.
|
||||
GLOBAL = "GLOBAL"
|
||||
#: Guild category.
|
||||
GUILD = "GUILD"
|
||||
#: Channel category.
|
||||
CHANNEL = "TEXTCHANNEL"
|
||||
#: Role category.
|
||||
ROLE = "ROLE"
|
||||
#: User category.
|
||||
USER = "USER"
|
||||
#: Member category.
|
||||
MEMBER = "MEMBER"
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user