From 36489f07011b29bf80c3ac73de52bc11fdf6863e Mon Sep 17 00:00:00 2001 From: Twentysix Date: Sun, 14 May 2017 19:53:06 +0200 Subject: [PATCH] [Streams] Limited two [p]streamset commands to DMs --- cogs/streams.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/streams.py b/cogs/streams.py index 918690d6f..77dab134a 100644 --- a/cogs/streams.py +++ b/cogs/streams.py @@ -250,7 +250,7 @@ class Streams: dataIO.save_json("data/streams/settings.json", self.settings) await self.bot.say('Twitch Client-ID set.') - @streamset.command(pass_context=True) + @streamset.command(pass_context=True, no_pm=True) @checks.admin() async def mention(self, ctx, *, mention_type : str): """Sets mentions for stream alerts @@ -271,7 +271,7 @@ class Streams: dataIO.save_json("data/streams/settings.json", self.settings) - @streamset.command(pass_context=True) + @streamset.command(pass_context=True, no_pm=True) @checks.admin() async def autodelete(self, ctx): """Toggles automatic notification deletion for streams that go offline"""