Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bot/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ class _HelpChannels(EnvConfig):
idle_minutes = 30
deleted_idle_minutes = 5
# Roles which are allowed to use the command which makes channels dormant
cmd_whitelist: list[int] = [Roles.helpers]
cmd_whitelist = Guild.moderation_roles


HelpChannels = _HelpChannels()
Expand Down
2 changes: 1 addition & 1 deletion bot/exts/help_channels/_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async def close_command(self, ctx: commands.Context) -> None:
"""
Make the help post this command was called in dormant.

May only be invoked by the channel's claimant or by staff.
May only be invoked by the channel's claimant or by mods+.
"""
# Don't use a discord.py check because the check needs to fail silently.
if await self.close_check(ctx):
Expand Down