diff options
author | Thomas Voss <57815710+Mango0x45@users.noreply.github.com> | 2020-06-04 14:44:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-04 14:44:40 +0000 |
commit | 0a3d6b7fff559b928c01781f7315b055056dc3d4 (patch) | |
tree | 51fbd07486ec9ce75bf15b32d157486c0c8179bf /cogs | |
parent | cb2a68cb27a144129f1104fe7a1eb1993b2a293f (diff) | |
download | steve-bot-0a3d6b7fff559b928c01781f7315b055056dc3d4.tar steve-bot-0a3d6b7fff559b928c01781f7315b055056dc3d4.tar.gz steve-bot-0a3d6b7fff559b928c01781f7315b055056dc3d4.tar.bz2 steve-bot-0a3d6b7fff559b928c01781f7315b055056dc3d4.tar.lz steve-bot-0a3d6b7fff559b928c01781f7315b055056dc3d4.tar.xz steve-bot-0a3d6b7fff559b928c01781f7315b055056dc3d4.tar.zst steve-bot-0a3d6b7fff559b928c01781f7315b055056dc3d4.zip |
Small optimization to findseed()
Diffstat (limited to 'cogs')
-rw-r--r-- | cogs/utils.py | 4 |
1 files changed, 1 insertions, 3 deletions
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") |