aboutsummaryrefslogtreecommitdiff
path: root/cogs/utils.py
diff options
context:
space:
mode:
authorAnInternetTroll <lucafulger@gmail.com>2020-06-11 19:22:49 +0000
committerAnInternetTroll <lucafulger@gmail.com>2020-06-11 19:22:49 +0000
commitb889beaa39fb60adb81c422fc9ccc30b3ebd8293 (patch)
tree8ff8e57fbadd068cafecca38879bf7bc126d9d42 /cogs/utils.py
parentc13e9c3846b8653deadb5fe6bb8ae8701c52e5fe (diff)
downloadsteve-bot-b889beaa39fb60adb81c422fc9ccc30b3ebd8293.tar
steve-bot-b889beaa39fb60adb81c422fc9ccc30b3ebd8293.tar.gz
steve-bot-b889beaa39fb60adb81c422fc9ccc30b3ebd8293.tar.bz2
steve-bot-b889beaa39fb60adb81c422fc9ccc30b3ebd8293.tar.lz
steve-bot-b889beaa39fb60adb81c422fc9ccc30b3ebd8293.tar.xz
steve-bot-b889beaa39fb60adb81c422fc9ccc30b3ebd8293.tar.zst
steve-bot-b889beaa39fb60adb81c422fc9ccc30b3ebd8293.zip
minor fixes and !serverinfo
Diffstat (limited to '')
-rw-r--r--[-rwxr-xr-x]cogs/utils.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/cogs/utils.py b/cogs/utils.py
index 5492c14..c708e54 100755..100644
--- 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: