Allow people with silence
permission to use !silence too
This commit is contained in:
parent
bf7d359092
commit
e0311c4b73
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue