mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
Disallow stream alerts in DM
This commit is contained in:
parent
0c3d4a104a
commit
77bed58c45
@ -62,7 +62,7 @@ class Streams:
|
|||||||
else:
|
else:
|
||||||
await self.bot.say("Error.")
|
await self.bot.say("Error.")
|
||||||
|
|
||||||
@commands.group(pass_context=True)
|
@commands.group(pass_context=True, no_pm=True)
|
||||||
@checks.mod_or_permissions(manage_server=True)
|
@checks.mod_or_permissions(manage_server=True)
|
||||||
async def streamalert(self, ctx):
|
async def streamalert(self, ctx):
|
||||||
"""Adds/removes stream alerts from the current channel"""
|
"""Adds/removes stream alerts from the current channel"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user