diff options
author | 2022-02-20 11:31:59 +0000 | |
---|---|---|
committer | 2022-02-20 11:31:59 +0000 | |
commit | 206b23cd02b020288b8897cc8eb30ab3a67a8250 (patch) | |
tree | 0cb3a4bc0211712e3ea750343eb45ad59719b037 | |
parent | Merge remote-tracking branch 'origin/main' into main (diff) |
Fix TypeError caused by adding a list to a tuple
-rw-r--r-- | bot/exts/core/source.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/core/source.py b/bot/exts/core/source.py index e9568933..2801be0f 100644 --- a/bot/exts/core/source.py +++ b/bot/exts/core/source.py @@ -15,7 +15,7 @@ class BotSource(commands.Cog): """Displays information about the bot's source code.""" @commands.command(name="source", aliases=("src",)) - @whitelist_override(channels=WHITELISTED_CHANNELS+[Channels.community_meta, Channels.dev_contrib]) + @whitelist_override(channels=WHITELISTED_CHANNELS+(Channels.community_meta, Channels.dev_contrib)) async def source_command(self, ctx: commands.Context, *, source_item: SourceConverter = None) -> None: """Display information and a GitHub link to the source code of a command, tag, or cog.""" if not source_item: |