From 0a3d6b7fff559b928c01781f7315b055056dc3d4 Mon Sep 17 00:00:00 2001 From: Thomas Voss <57815710+Mango0x45@users.noreply.github.com> Date: Thu, 4 Jun 2020 16:44:40 +0200 Subject: Small optimization to findseed() --- cogs/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cogs/utils.py') diff --git a/cogs/utils.py b/cogs/utils.py index 290850f..13d41da 100644 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -62,9 +62,7 @@ class Utils(commands.Cog): for i in range(12): randomness = randint(1,10) if randomness == 1: - totalEyes += randomness - else: - continue + totalEyes += 1 await ctx.send(f"{ctx.message.author.display_name} -> your seed is a {totalEyes} eye") -- cgit v1.2.3