diff options
author | 2021-01-08 17:06:23 -0800 | |
---|---|---|
committer | 2021-01-08 17:06:23 -0800 | |
commit | fa7c5c68959b664c0b4d5d983cfaafc84d2759da (patch) | |
tree | d0afda739dc70718d8d4561323f532dacda5781f /bot/exts/evergreen/tic_tac_toe.py | |
parent | Merge remote-tracking branch 'origin/master' into tic-tac-toe (diff) |
Corrected small spelling mistake.
Diffstat (limited to 'bot/exts/evergreen/tic_tac_toe.py')
-rw-r--r-- | bot/exts/evergreen/tic_tac_toe.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/exts/evergreen/tic_tac_toe.py b/bot/exts/evergreen/tic_tac_toe.py index 20fbb9be..b27f1942 100644 --- a/bot/exts/evergreen/tic_tac_toe.py +++ b/bot/exts/evergreen/tic_tac_toe.py @@ -5,7 +5,7 @@ import typing as t import discord from discord.ext.commands import Cog, Context, check, group, guild_only -from bot.bot import SeasonalBot +from bot.bot import Bot from bot.constants import Emojis from bot.utils.pagination import LinePaginator @@ -239,7 +239,7 @@ def is_requester_free() -> t.Callable: class TicTacToe(Cog): """TicTacToe cog contains tic-tac-toe game commands.""" - def __init__(self, bot: SeasonalBot): + def __init__(self, bot: Bot): self.bot = bot self.games: t.List[Game] = [] @@ -248,7 +248,7 @@ class TicTacToe(Cog): @is_requester_free() @group(name="tictactoe", aliases=("ttt",), invoke_without_command=True) async def tic_tac_toe(self, ctx: Context, opponent: t.Optional[discord.User]) -> None: - """Tic Tac Toe game. Play agains friends or AI. Use reactions to add your mark to field.""" + """Tic Tac Toe game. Play against friends or AI. Use reactions to add your mark to field.""" if opponent == ctx.author: await ctx.send("You can't play against yourself.") return @@ -313,6 +313,6 @@ class TicTacToe(Cog): await ctx.send(game.format_board()) -def setup(bot: SeasonalBot) -> None: +def setup(bot: Bot) -> None: """Load TicTacToe Cog.""" bot.add_cog(TicTacToe(bot)) |