mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-05 18:58:53 -05:00
Fix incorrect default argument value in [p]streamalert twitch (#5945)
This commit is contained in:
parent
519acedf46
commit
fa6b2f8c10
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user