From b889beaa39fb60adb81c422fc9ccc30b3ebd8293 Mon Sep 17 00:00:00 2001 From: AnInternetTroll Date: Thu, 11 Jun 2020 21:22:49 +0200 Subject: minor fixes and !serverinfo --- cogs/utils.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) mode change 100755 => 100644 cogs/utils.py (limited to 'cogs/utils.py') diff --git a/cogs/utils.py b/cogs/utils.py old mode 100755 new mode 100644 index 5492c14..c708e54 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -67,8 +67,8 @@ class Utils(commands.Cog): randomness = randint(1, 10) if randomness <= 1: totalEyes += 1 - - await ctx.send(f"{ctx.message.author.display_name} -> your seed is a {totalEyes} eye") + discname = ctx.message.author.name.replace("@", "@ ") + await ctx.send(f"{discname} -> your seed is a {totalEyes} eye") @findseed.error async def findseed_handler(self,ctx,error): @@ -98,11 +98,11 @@ class Utils(commands.Cog): "waaakeee uuuppp!", "are they dead or asleep? I can't tell.", "wake up, muffin head", - "psst... coffeeee \:D" + "psst... coffeeee \\:D" ] # Set up initial message - msg = f"{ctx.message.author.display_name} -> " + msg = f"{ctx.message.author.name} -> " # Optional TODO: Create non-normal distribution sleepHrs = randint(0, 24) @@ -115,7 +115,7 @@ class Utils(commands.Cog): # Add extra comment based on number of sleepHrs if sleepHrs == 0: - msg += "- nice try \:D" + msg += "- nice try \\:D" elif sleepHrs <= 5: msg += f"- {lessSleepMsg[randint(0, len(lessSleepMsg) - 1)]}" elif sleepHrs >= 10: -- cgit v1.2.3