Skip to content

Commit 3c821bc

Browse files
committed
fix issue with streams
1 parent cefb096 commit 3c821bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

redbot/cogs/streams/streams.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from redbot.core.i18n import cog_i18n, Translator, set_contextual_locales_from_guild
77
from redbot.core.utils._internal_utils import send_to_owners_with_prefix_replaced
88
from redbot.core.utils.chat_formatting import escape, inline, pagify
9+
from redbot.core import checks
910

1011
from .streamtypes import (
1112
KickStream,
@@ -650,6 +651,7 @@ async def stream_alert(self, ctx: commands.Context, _class, channel_name, discor
650651
await self.add_or_remove(ctx, stream, discord_channel)
651652

652653
@commands.group()
654+
@commands.guild_only()
653655
@commands.mod_or_permissions(manage_channels=True)
654656
async def streamset(self, ctx: commands.Context):
655657
"""Manage stream alert settings."""

0 commit comments

Comments
 (0)