Skip to content

Commit 9145491

Browse files
committed
Add python help channel to src command whitelist
1 parent 7fa6e0c commit 9145491

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bot/exts/core/source.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ class BotSource(commands.Cog):
1717
"""Displays information about the bot's source code."""
1818

1919
@commands.command(name="source", aliases=("src",))
20-
@whitelist_override(channels=WHITELISTED_CHANNELS+(Channels.community_meta, Channels.dev_contrib))
20+
@whitelist_override(
21+
channels=WHITELISTED_CHANNELS + (Channels.community_meta, Channels.dev_contrib, Channels.python_help)
22+
)
2123
async def source_command(self, ctx: commands.Context, *, source_item: SourceConverter = None) -> None:
2224
"""Display information and a GitHub link to the source code of a command, tag, or cog."""
2325
if not source_item:

0 commit comments

Comments
 (0)