diff options
author | AnInternetTroll <lucafulger@gmail.com> | 2020-06-05 10:31:19 +0000 |
---|---|---|
committer | AnInternetTroll <lucafulger@gmail.com> | 2020-06-05 10:31:19 +0000 |
commit | ec25b2efabab4c7e30a39099b035f26b12d38575 (patch) | |
tree | 0d680822449ed25b031f06782b750b4a710a83ae /cogs | |
parent | 6222a5f20aee40feed480c5e16c315ecf4e5fd31 (diff) | |
parent | 76077d68350390f4e179fad194bcb210fb20d91b (diff) | |
download | steve-bot-ec25b2efabab4c7e30a39099b035f26b12d38575.tar steve-bot-ec25b2efabab4c7e30a39099b035f26b12d38575.tar.gz steve-bot-ec25b2efabab4c7e30a39099b035f26b12d38575.tar.bz2 steve-bot-ec25b2efabab4c7e30a39099b035f26b12d38575.tar.lz steve-bot-ec25b2efabab4c7e30a39099b035f26b12d38575.tar.xz steve-bot-ec25b2efabab4c7e30a39099b035f26b12d38575.tar.zst steve-bot-ec25b2efabab4c7e30a39099b035f26b12d38575.zip |
Merge branch 'master' of https://github.com/AnInternetTroll/mcbeDiscordBot
Diffstat (limited to 'cogs')
-rwxr-xr-x | cogs/utils.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/cogs/utils.py b/cogs/utils.py index 7f2b595..f083cad 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -53,16 +53,18 @@ class Utils(commands.Cog): return # Don't ask - if ctx.author.id == 280428276810383370: # Thomas's User ID - totalEyes = 12 - elif ctx.author.id == 199070670221475842: # Kai's User ID - totalEyes = -1 - elif ctx.author.id == 615658069132836865: # no one of consequence - totalEyes = -12 + rigged_findseed = { + 280428276810383370: 12, # Thomas's User ID + 199070670221475842: -1, # Kai's User ID + 615658069132836865: -12 # They didn't use a real name. Sad! + } + + if ctx.author.id in rigged_findseed: + totalEyes = rigged_findseed[ctx.author.id] else: totalEyes = 0 for i in range(12): - randomness = randint(1,10) + randomness = randint(1, 10) if randomness == 1: totalEyes += 1 |