diff options
Diffstat (limited to 'bot/exts/fun')
-rw-r--r-- | bot/exts/fun/fun.py | 4 | ||||
-rw-r--r-- | bot/exts/fun/minesweeper.py | 6 | ||||
-rw-r--r-- | bot/exts/fun/trivia_quiz.py | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/bot/exts/fun/fun.py b/bot/exts/fun/fun.py index aa12b079..16279dd7 100644 --- a/bot/exts/fun/fun.py +++ b/bot/exts/fun/fun.py @@ -12,7 +12,7 @@ from discord.ext.commands import BadArgument, Cog, Context from pydis_core.utils.commands import clean_text_or_reply from bot.bot import Bot -from bot.constants import Bot, Colours, Emojis +from bot.constants import Client, Colours, Emojis from bot.utils import helpers, messages log = logging.getLogger(__name__) @@ -58,7 +58,7 @@ class Fun(Cog): dice = " ".join(self._get_random_die() for _ in range(num_rolls)) await ctx.send(dice) else: - raise BadArgument(f"`{Bot.prefix}roll` only supports between 1 and 6 rolls.") + raise BadArgument(f"`{Client.prefix}roll` only supports between 1 and 6 rolls.") @commands.command(name="randomcase", aliases=("rcase", "randomcaps", "rcaps",)) async def randomcase_command(self, ctx: Context, *, text: str | None) -> None: diff --git a/bot/exts/fun/minesweeper.py b/bot/exts/fun/minesweeper.py index cd1f6711..f16b1db2 100644 --- a/bot/exts/fun/minesweeper.py +++ b/bot/exts/fun/minesweeper.py @@ -8,7 +8,7 @@ import discord from discord.ext import commands from bot.bot import Bot -from bot.constants import Bot +from bot.constants import Client from bot.utils.converters import CoordinateConverter from bot.utils.exceptions import UserNotPlayingError @@ -117,8 +117,8 @@ class Minesweeper(commands.Cog): try: await ctx.author.send( - f"Play by typing: `{Bot.prefix}ms reveal xy [xy]` or `{Bot.prefix}ms flag xy [xy]` \n" - f"Close the game with `{Bot.prefix}ms end`\n" + f"Play by typing: `{Client.prefix}ms reveal xy [xy]` or `{Client.prefix}ms flag xy [xy]` \n" + f"Close the game with `{Client.prefix}ms end`\n" ) except discord.errors.Forbidden: log.debug(f"{ctx.author.name} ({ctx.author.id}) has disabled DMs from server members.") diff --git a/bot/exts/fun/trivia_quiz.py b/bot/exts/fun/trivia_quiz.py index 546b796b..31652374 100644 --- a/bot/exts/fun/trivia_quiz.py +++ b/bot/exts/fun/trivia_quiz.py @@ -16,7 +16,7 @@ from discord.ext import commands, tasks from rapidfuzz import fuzz from bot.bot import Bot -from bot.constants import Bot, Colours, MODERATION_ROLES, NEGATIVE_REPLIES +from bot.constants import Client, Colours, MODERATION_ROLES, NEGATIVE_REPLIES logger = logging.getLogger(__name__) @@ -332,7 +332,7 @@ class TriviaQuiz(commands.Cog): if self.game_status[ctx.channel.id]: await ctx.send( "Game is already running... " - f"do `{Bot.prefix}quiz stop`" + f"do `{Client.prefix}quiz stop`" ) return |