no_pm for sfx toggle

This commit is contained in:
Irdumb 2016-04-06 23:19:18 +10:00
parent 7259ae0fcc
commit 3cb7ea02ad

View File

@ -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.