Disallow stream alerts in DM

This commit is contained in:
Twentysix 2016-05-27 11:29:59 +02:00
parent 0c3d4a104a
commit 77bed58c45

View File

@ -62,7 +62,7 @@ class Streams:
else:
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)
async def streamalert(self, ctx):
"""Adds/removes stream alerts from the current channel"""