diff --git a/redbot/cogs/streams/streams.py b/redbot/cogs/streams/streams.py index cde398c11..5570afc9e 100644 --- a/redbot/cogs/streams/streams.py +++ b/redbot/cogs/streams/streams.py @@ -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") diff --git a/redbot/cogs/streams/streamtypes.py b/redbot/cogs/streams/streamtypes.py index 183bbaf74..59db0c4a8 100644 --- a/redbot/cogs/streams/streamtypes.py +++ b/redbot/cogs/streams/streamtypes.py @@ -331,7 +331,7 @@ class HitboxStream(Stream): token_name = None # This streaming services don't currently require an API key async def is_online(self): - url = "https://api.hitbox.tv/media/live/" + self.name + url = "https://api.smashcast.tv/media/live/" + self.name async with aiohttp.ClientSession() as session: async with session.get(url) as r: