diff options
-rwxr-xr-x | cogs/general.py | 4 | ||||
-rwxr-xr-x | cogs/utils.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cogs/general.py b/cogs/general.py index 6f5fef5..49bc7c9 100755 --- a/cogs/general.py +++ b/cogs/general.py @@ -3,7 +3,7 @@ import inspect import json
import os
import sys
-from random import randint
+from random import choice
import dateutil.parser
import discord
@@ -388,7 +388,7 @@ class MyHelpCommand(commands.MinimalHelpCommand): return f"``{self.clean_prefix}{command.qualified_name} {command.signature}``"
def get_ending_note(self) -> str:
- return self.messages[randint(0, len(self.messages) - 1)]
+ return choice(self.messages)
class General(commands.Cog):
diff --git a/cogs/utils.py b/cogs/utils.py index e1d217c..b1bb62f 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -415,7 +415,7 @@ class Utils(commands.Cog): fairStreak = fair[userId]["streak"] + 1 else: fairStreak = 1 - await message.channel.send("streak lost. :sad:") + await message.channel.send("streak lost. <:sad:716629485449117708>") # only send && update if user is fairing for the first time today fair[userId] = { |