From 206b23cd02b020288b8897cc8eb30ab3a67a8250 Mon Sep 17 00:00:00 2001 From: Izan Date: Sun, 20 Feb 2022 11:31:59 +0000 Subject: Fix TypeError caused by adding a list to a tuple --- bot/exts/core/source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/exts/core/source.py') 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: -- cgit v1.2.3