diff options
author | 2021-12-15 07:11:46 -0700 | |
---|---|---|
committer | 2021-12-15 14:11:46 +0000 | |
commit | 40631e98e651d6ef8c50274cb0d0b49cf693b348 (patch) | |
tree | 299efd4dae801e43d5326ed652b06037da821e59 | |
parent | Merge pull request #2011 from python-discord/dependabot/pip/lxml-4.6.5 (diff) |
Rename channels.discord_py to discord_bots (#1982)
Co-authored-by: ToxicKidz <[email protected]>
Co-authored-by: Xithrius <[email protected]>
-rw-r--r-- | bot/constants.py | 2 | ||||
-rw-r--r-- | bot/exts/moderation/slowmode.py | 2 | ||||
-rw-r--r-- | bot/exts/utils/utils.py | 2 | ||||
-rw-r--r-- | config-default.yml | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/bot/constants.py b/bot/constants.py index 078ab6912..1b713a7e3 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -432,7 +432,7 @@ class Channels(metaclass=YAMLGetter): black_formatter: int bot_commands: int - discord_py: int + discord_bots: int esoteric: int voice_gate: int code_jam_planning: int diff --git a/bot/exts/moderation/slowmode.py b/bot/exts/moderation/slowmode.py index 9583597e0..da04d1e98 100644 --- a/bot/exts/moderation/slowmode.py +++ b/bot/exts/moderation/slowmode.py @@ -16,7 +16,7 @@ SLOWMODE_MAX_DELAY = 21600 # seconds COMMONLY_SLOWMODED_CHANNELS = { Channels.python_general: "python_general", - Channels.discord_py: "discordpy", + Channels.discord_bots: "discord_bots", Channels.off_topic_0: "ot0", } diff --git a/bot/exts/utils/utils.py b/bot/exts/utils/utils.py index 821cebd8c..f76eea516 100644 --- a/bot/exts/utils/utils.py +++ b/bot/exts/utils/utils.py @@ -49,7 +49,7 @@ class Utils(Cog): self.bot = bot @command() - @in_whitelist(channels=(Channels.bot_commands, Channels.discord_py), roles=STAFF_PARTNERS_COMMUNITY_ROLES) + @in_whitelist(channels=(Channels.bot_commands, Channels.discord_bots), roles=STAFF_PARTNERS_COMMUNITY_ROLES) async def charinfo(self, ctx: Context, *, characters: str) -> None: """Shows you information on up to 50 unicode characters.""" match = re.match(r"<(a?):(\w+):(\d+)>", characters) diff --git a/config-default.yml b/config-default.yml index 1e04f5844..583733fda 100644 --- a/config-default.yml +++ b/config-default.yml @@ -174,7 +174,7 @@ guild: how_to_get_help: 704250143020417084 # Topical - discord_py: 343944376055103488 + discord_bots: 343944376055103488 # Logs attachment_log: &ATTACH_LOG 649243850006855680 |