From: Thorsten Date: Tue, 23 Apr 2024 18:13:21 +0000 (+0200) Subject: choose your battles X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=48e4671528252676109bf82a21ea09415820f2bf;p=urlbot-v3.git choose your battles --- 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 = []