remove redundant old docstring kwargs from !silence

This commit is contained in:
jesopo 2019-09-20 14:55:19 +01:00
parent 47d38c7d18
commit ebcae169c7

View file

@ -23,11 +23,6 @@ class Module(ModuleManager.BaseModule):
@utils.kwarg("require_mode", "high")
@utils.kwarg("permission", "silence")
def silence(self, event):
"""
:help: Silence me for 5 minutes
:require_mode: high
:permission: silence
"""
duration = SILENCE_TIME
if event["args"] and event["args_split"][0].startswith("+"):
duration = utils.from_pretty_time(event["args_split"][0][1:])