From efafdff3ce9087c64fd6bdea9c4c130944f0e31e Mon Sep 17 00:00:00 2001 From: Thorsten S Date: Wed, 19 Dec 2018 18:53:35 +0100 Subject: [PATCH] fix error message --- distbot/plugins/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distbot/plugins/basic.py b/distbot/plugins/basic.py index 1376274..6af2892 100644 --- a/distbot/plugins/basic.py +++ b/distbot/plugins/basic.py @@ -199,7 +199,7 @@ class Choose(Worker): words.pop(0) # remove sudo from args sudoers = conf_get('sudoers') or [] if sender not in sudoers: - return Action(msg="{} is not in the sudoers file. This incident will be reported.") + return Action(msg="{} is not in the sudoers file. This incident will be reported.".format(sender)) alternatives = words[1:] logger.debug("Alternatives: %s", str(alternatives)) -- 2.39.2