From e0311c4b730fdb2d9aa527708a1c14f9d835e489 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 16 May 2019 08:53:28 +0100 Subject: [PATCH] Allow people with `silence` permission to use !silence too --- modules/silence.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/silence.py b/modules/silence.py index f90cc3c3..d2a1f548 100644 --- a/modules/silence.py +++ b/modules/silence.py @@ -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)