From 3cb7ea02ad01ce15ccf0740015752b3e7a5a5a17 Mon Sep 17 00:00:00 2001 From: Irdumb Date: Wed, 6 Apr 2016 23:19:18 +1000 Subject: [PATCH] no_pm for sfx toggle --- cogs/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/audio.py b/cogs/audio.py index aca19cc9d..2f13609ea 100644 --- a/cogs/audio.py +++ b/cogs/audio.py @@ -552,7 +552,7 @@ class Audio: else: await self.bot.say("Volume must be between 0 and 1. Example: 0.40") - @audioset.command(name="sfx", pass_context=True) + @audioset.command(name="sfx", pass_context=True, no_pm=True) async def _sfx(self, ctx): """Enables/Disables sound effects usage in the server""" #default on.