use raw/unformatted Setting usage strings for require_setting output

This commit is contained in:
jesopo 2019-07-02 20:59:11 +01:00
parent a077e086cd
commit bb47e7fa58

View file

@ -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 "<value>"
example = setting_info.example or "<value>"
return "Please set %s, e.g.: %sconfig %s %s %s" % (
require_setting, event["command_prefix"], context[0],
require_setting, example)