diff options
author | AnInternetTroll <lucafulger@gmail.com> | 2020-06-03 22:40:15 +0000 |
---|---|---|
committer | AnInternetTroll <lucafulger@gmail.com> | 2020-06-03 22:40:15 +0000 |
commit | 0dae3c387cb752698399eda0748d88ba89eb28ef (patch) | |
tree | 99070f11e610ac11f6bcfa323af907f7fcea84fb | |
parent | eccb7b1b36f905804af3f55191779f24f751b19b (diff) | |
parent | c85f661380187239d9bedf01c6e49f1fe754d3eb (diff) | |
download | steve-bot-0dae3c387cb752698399eda0748d88ba89eb28ef.tar steve-bot-0dae3c387cb752698399eda0748d88ba89eb28ef.tar.gz steve-bot-0dae3c387cb752698399eda0748d88ba89eb28ef.tar.bz2 steve-bot-0dae3c387cb752698399eda0748d88ba89eb28ef.tar.lz steve-bot-0dae3c387cb752698399eda0748d88ba89eb28ef.tar.xz steve-bot-0dae3c387cb752698399eda0748d88ba89eb28ef.tar.zst steve-bot-0dae3c387cb752698399eda0748d88ba89eb28ef.zip |
Merge branch 'master' of https://github.com/AnInternetTroll/mcbeDiscordBot
-rwxr-xr-x | cogs/utils.py | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/cogs/utils.py b/cogs/utils.py index 98efc19..290850f 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -51,29 +51,20 @@ class Utils(commands.Cog): if ctx.message.channel.id != 684787316489060422: await ctx.message.delete() return - totalEyes = 0 - for i in range(12): - randomness = randint(1,10) - if randomness == 1: - totalEyes += randomness - else: - continue - - # haha sneaky sneaky - Thomas = self.bot.get_user(280428276810383370) - Kai = self.bot.get_user(199070670221475842) - if ctx.message.author == Thomas: + + # Don't ask + if ctx.author.id == 280428276810383370: # Thomas's User ID totalEyes = 12 - elif ctx.message.author == Kai: + elif ctx.author.id == 199070670221475842: # Kai's User ID totalEyes = -1 - - - # EDIT: It DID work!! Troll just forgot to reload utils Kappa - # idfk why this doesnt work but it doesnt ¯\_(ツ)_/¯ - # haha kai time - # Kai = self.bot.get_user(199070670221475842) - # if ctx.message.author == Kai: - # totalEyes = "-1" + else: + totalEyes = 0 + for i in range(12): + randomness = randint(1,10) + if randomness == 1: + totalEyes += randomness + else: + continue await ctx.send(f"{ctx.message.author.display_name} -> your seed is a {totalEyes} eye") |