From 77bed58c455dd0565ec44654c890e01fc4e98d11 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Fri, 27 May 2016 11:29:59 +0200 Subject: [PATCH] Disallow stream alerts in DM --- cogs/streams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/streams.py b/cogs/streams.py index 7e0e84c13..0e5ac2a5b 100644 --- a/cogs/streams.py +++ b/cogs/streams.py @@ -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"""