From a976c7888423e657f946ac567695c7da23e9f9a7 Mon Sep 17 00:00:00 2001 From: shtlrs Date: Mon, 1 May 2023 14:38:18 +0100 Subject: revert renaming of Client to Bot --- bot/exts/fun/minesweeper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bot/exts/fun/minesweeper.py') 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.") -- cgit v1.2.3