Fix incorrect default argument value in [p]streamalert twitch (#5945)

This commit is contained in:
Jakub Kuczys
2022-12-30 03:24:05 +01:00
committed by GitHub
parent 519acedf46
commit fa6b2f8c10

View File

@@ -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)