mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[Streams] Change hitbox to smashcast. (#4161)
* [Streams] Change hitbox to smashcast. as hitbox is now smashcast. * Add files via upload * reee * :thonk: * oof * Add missing new lines at end of file Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -226,8 +226,8 @@ class Streams(commands.Cog):
|
||||
await self.check_online(ctx, stream)
|
||||
|
||||
@commands.command()
|
||||
async def hitbox(self, ctx: commands.Context, channel_name: str):
|
||||
"""Check if a Hitbox channel is live."""
|
||||
async def smashcast(self, ctx: commands.Context, channel_name: str):
|
||||
"""Check if a smashcast channel is live."""
|
||||
stream = HitboxStream(name=channel_name)
|
||||
await self.check_online(ctx, stream)
|
||||
|
||||
@@ -305,9 +305,9 @@ class Streams(commands.Cog):
|
||||
"""Toggle alerts in this channel for a YouTube stream."""
|
||||
await self.stream_alert(ctx, YoutubeStream, channel_name_or_id)
|
||||
|
||||
@streamalert.command(name="hitbox")
|
||||
async def hitbox_alert(self, ctx: commands.Context, channel_name: str):
|
||||
"""Toggle alerts in this channel for a Hitbox stream."""
|
||||
@streamalert.command(name="smashcast")
|
||||
async def smashcast_alert(self, ctx: commands.Context, channel_name: str):
|
||||
"""Toggle alerts in this channel for a Smashcast stream."""
|
||||
await self.stream_alert(ctx, HitboxStream, channel_name)
|
||||
|
||||
@streamalert.command(name="picarto")
|
||||
|
||||
Reference in New Issue
Block a user