From 48e4671528252676109bf82a21ea09415820f2bf Mon Sep 17 00:00:00 2001 From: Thorsten Date: Tue, 23 Apr 2024 20:13:21 +0200 Subject: [PATCH] choose your battles --- src/distbot/plugins/basic.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/distbot/plugins/basic.py b/src/distbot/plugins/basic.py index 36c9d1d..c84a94d 100644 --- a/src/distbot/plugins/basic.py +++ b/src/distbot/plugins/basic.py @@ -245,7 +245,8 @@ class Choose(Worker): (('Yes.', 'Yeah!', 'Ok!', 'Aye!', 'Great!'), 6), (('No.', 'Naah..', 'Meh.', 'Nay.', 'You stupid?'), 6), (('Maybe.', 'Dunno.', 'I don\'t care.'), 3), - (('Decision tree growing, check back in 20 years.', "Can't tell right now.", "I need more information."), 1) + (('Decision tree growing, check back in 20 years.', + "Can't tell right now.", "I need more information.", "Sorry, did you say something?"), 1) ) @staticmethod @@ -294,7 +295,7 @@ class Choose(Worker): elif 'choose' not in alternatives: choice = random.choice(alternatives) - return Action(msg='%s: I prefer %s!' % (sender, choice)) + return Action(msg='{}: I prefer {}!'.format(sender, choice)) def choose_between(options): responses = [] -- 2.39.2