diff --git a/redbot/cogs/streams/streams.py b/redbot/cogs/streams/streams.py index f3f9028ca..ed5e53291 100644 --- a/redbot/cogs/streams/streams.py +++ b/redbot/cogs/streams/streams.py @@ -202,6 +202,7 @@ class Streams(commands.Cog): if self.ttv_bearer_cache["expires_at"] - datetime.now().timestamp() <= 60: await self.get_twitch_bearer_token() + @commands.guild_only() @commands.command() async def twitchstream(self, ctx: commands.Context, channel_name: str): """Check if a Twitch channel is live.""" @@ -215,6 +216,7 @@ class Streams(commands.Cog): ) await self.check_online(ctx, stream) + @commands.guild_only() @commands.command() @commands.cooldown(1, 30, commands.BucketType.guild) async def youtubestream(self, ctx: commands.Context, channel_id_or_name: str): @@ -233,6 +235,7 @@ class Streams(commands.Cog): ) await self.check_online(ctx, stream) + @commands.guild_only() @commands.command() async def picarto(self, ctx: commands.Context, channel_name: str): """Check if a Picarto channel is live."""