From c33f8bbaf8f3f315fd8d6ea9ac1c3d60d278314f Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 26 Jan 2020 02:52:38 +0000 Subject: [PATCH] ?time->?duration, remove now unneeded usage kwarg --- src/core_modules/ignore.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core_modules/ignore.py b/src/core_modules/ignore.py index 4cee03f0..3420e35f 100644 --- a/src/core_modules/ignore.py +++ b/src/core_modules/ignore.py @@ -45,8 +45,7 @@ class Module(ModuleManager.BaseModule): @utils.hook("received.command.ignore", min_args=1) @utils.kwarg("permission", "ignore") @utils.kwarg("help", "Ignore commands from a given user") - @utils.kwarg("usage", "[+time] [command]") - @utils.spec("?time !ouser ?wordlower") + @utils.spec("?duration !ouser ?wordlower") def ignore(self, event): setting = "ignore" for_str = ""