diff options
author | 2023-05-01 14:20:31 +0100 | |
---|---|---|
committer | 2023-05-06 13:20:46 +0100 | |
commit | 64e1ac315daf4d17da02790859baebbbbb7bdfc4 (patch) | |
tree | 15c3e2973685408b11272a34af1bc2de58580e28 /bot/exts/fun/minesweeper.py | |
parent | update Categories (diff) |
update Client constants
This also renames the Client class to Bot, to align better with Python.
Diffstat (limited to 'bot/exts/fun/minesweeper.py')
-rw-r--r-- | bot/exts/fun/minesweeper.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/fun/minesweeper.py b/bot/exts/fun/minesweeper.py index f16b1db2..cd1f6711 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 Client +from bot.constants import Bot 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: `{Client.prefix}ms reveal xy [xy]` or `{Client.prefix}ms flag xy [xy]` \n" - f"Close the game with `{Client.prefix}ms end`\n" + 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" ) except discord.errors.Forbidden: log.debug(f"{ctx.author.name} ({ctx.author.id}) has disabled DMs from server members.") |