aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
authorThomas Voss <57815710+Mango0x45@users.noreply.github.com>2020-06-04 14:44:40 +0000
committerGitHub <noreply@github.com>2020-06-04 14:44:40 +0000
commit0a3d6b7fff559b928c01781f7315b055056dc3d4 (patch)
tree51fbd07486ec9ce75bf15b32d157486c0c8179bf /cogs
parentcb2a68cb27a144129f1104fe7a1eb1993b2a293f (diff)
downloadsteve-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.py4
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")