From f2e4004dd7156621df7cb9bd0e7105fe63dc2a34 Mon Sep 17 00:00:00 2001 From: Hammy Date: Sat, 13 Feb 2021 20:46:24 +0000 Subject: [PATCH] Make result return a random boolean value --- bot/winston.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/winston.py b/bot/winston.py index 033b9c1..19b8b29 100644 --- a/bot/winston.py +++ b/bot/winston.py @@ -51,7 +51,7 @@ class Winston: def send_random_tweet(self): """Tweet something random from potential tweets""" - result = False + result = random.choice([True, False]) if result: random_tweet = random.choice(self.potential_tweets) self.bot.update_status(status=random_tweet)