From fa6b2f8c10cbd9545373c2afd60302641605971e Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Fri, 30 Dec 2022 03:24:05 +0100 Subject: [PATCH] Fix incorrect default argument value in `[p]streamalert twitch` (#5945) --- redbot/cogs/streams/streams.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/redbot/cogs/streams/streams.py b/redbot/cogs/streams/streams.py index 759515953..0ff5840f8 100644 --- a/redbot/cogs/streams/streams.py +++ b/redbot/cogs/streams/streams.py @@ -315,7 +315,9 @@ class Streams(commands.Cog): self, ctx: commands.Context, channel_name: str, - discord_channel: Union[discord.TextChannel, discord.VoiceChannel] = None, + discord_channel: Union[ + discord.TextChannel, discord.VoiceChannel + ] = commands.CurrentChannel, ): """Manage Twitch stream notifications.""" await ctx.invoke(self.twitch_alert_channel, channel_name, discord_channel)