From bb47e7fa585011b1f4e755a076a074cc42d1a5b0 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 2 Jul 2019 20:59:11 +0100 Subject: [PATCH] use raw/unformatted Setting usage strings for require_setting output --- modules/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config.py b/modules/config.py index 306f2366..05c1ca23 100644 --- a/modules/config.py +++ b/modules/config.py @@ -84,7 +84,7 @@ class Module(ModuleManager.BaseModule): if setting_info: value = target.get_setting(require_setting, None) if value == None: - example = setting_info.get_example() or "" + example = setting_info.example or "" return "Please set %s, e.g.: %sconfig %s %s %s" % ( require_setting, event["command_prefix"], context[0], require_setting, example)