diff options
Diffstat (limited to 'cogs')
-rwxr-xr-x | cogs/utils.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/cogs/utils.py b/cogs/utils.py index a1f1b7e..05c7317 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -104,16 +104,16 @@ class Utils(commands.Cog): sleepHrs = randint(0, 24) # Add extra comment based on number of sleepHrs - if sleepHrs == 0: - await ctx.send(f"{ctx.message.author.display_name} -> your sleep is 0 hours long - nice try \:D") - elif sleepHrs <= 5: - if sleepHrs == 1: - s = 's' - else: - s = '' - await ctx.send(f"{ctx.message.author.display_name} -> your sleep is {sleepHrs} hour{s} long - {lessSleepMsg[randint(0, len(lessSleepMsg) - 1)]}") - else sleepHrs >= 10: - await ctx.send(f"{ctx.message.author.display_name} -> your sleep is {sleepHrs} hours long - {moreSleepMsg[randint(0, len(moreSleepMsg) - 1)]}") + if sleepHrs == 0: + await ctx.send(f"{ctx.message.author.display_name} -> your sleep is 0 hours long - nice try \:D") + elif sleepHrs <= 5: + if sleepHrs == 1: + s = 's' + else: + s = '' + await ctx.send(f"{ctx.message.author.display_name} -> your sleep is {sleepHrs} hour{s} long - {lessSleepMsg[randint(0, len(lessSleepMsg) - 1)]}") + else sleepHrs >= 10: + await ctx.send(f"{ctx.message.author.display_name} -> your sleep is {sleepHrs} hours long - {moreSleepMsg[randint(0, len(moreSleepMsg) - 1)]}") @commands.Cog.listener() async def on_message(self, message): @@ -130,7 +130,7 @@ class Utils(commands.Cog): ['Kai', self.bot.get_user(199070670221475842), datetime.date(2020, 11, 20)], ['Luca', self.bot.get_user(99457716614885376), datetime.date(2020, 11, 5)], ['Max', self.bot.get_user(543958509243596800), datetime.date(2020, 11, 10)], - ['Mistaken', self.bot.get_user(264121998173536256), datetime.date(2020, 7, 6)], + ['Mistaken', self.bot.get_user(264121998173536256), datetime.date(2020, 7, 6)], ['Murray', self.bot.get_user(400344183333847060), datetime.date(2020, 11, 10)], # idk if she goes by her irl name but I'm sticking with it for the sake of uniformity # also idk how to pronounce prakxo |