mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -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,
|
self,
|
||||||
ctx: commands.Context,
|
ctx: commands.Context,
|
||||||
channel_name: str,
|
channel_name: str,
|
||||||
discord_channel: Union[discord.TextChannel, discord.VoiceChannel] = None,
|
discord_channel: Union[
|
||||||
|
discord.TextChannel, discord.VoiceChannel
|
||||||
|
] = commands.CurrentChannel,
|
||||||
):
|
):
|
||||||
"""Manage Twitch stream notifications."""
|
"""Manage Twitch stream notifications."""
|
||||||
await ctx.invoke(self.twitch_alert_channel, channel_name, discord_channel)
|
await ctx.invoke(self.twitch_alert_channel, channel_name, discord_channel)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user