Allow people with silence permission to use !silence too

This commit is contained in:
jesopo 2019-05-16 08:53:28 +01:00
parent bf7d359092
commit e0311c4b73

View file

@ -18,6 +18,7 @@ class Module(ModuleManager.BaseModule):
"""
:help: Silence me for 5 minutes
:require_mode: high
:permission: silence
"""
silence_until = time.time()+SILENCE_TIME
event["target"].set_setting("silence-until", silence_until)