From 4d6a39d9783a4605549ed23f566e36ee72367ab5 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sat, 11 Apr 2020 12:24:20 +0200 Subject: [PATCH] change the weights of choice formulations --- distbot/plugins/basic.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/distbot/plugins/basic.py b/distbot/plugins/basic.py index 9467ebf..8df04f3 100644 --- a/distbot/plugins/basic.py +++ b/distbot/plugins/basic.py @@ -223,9 +223,10 @@ class Choose(Worker): alternatives = words[1:] logger.debug("Alternatives: %s", str(alternatives)) binary = ( - (('Yes.', 'Yeah!', 'Ok!', 'Aye!', 'Great!'), 4), - (('No.', 'Naah..', 'Meh.', 'Nay.', 'You stupid?'), 4), - (('Maybe.', 'Dunno.', 'I don\'t care.', 'I choose you, Pikachu!', 'Decision tree growing, check back in 20 years'), 2) + (('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) ) def weighted_choice(choices): -- 2.39.2