aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-07 11:02:57 +0300
committerGravatar ks129 <[email protected]>2020-04-07 11:02:57 +0300
commit019c2cea32ae4fcc8a257e7ac57ec223cd6ea788 (patch)
tree483135849ffa39a5a9391285a17dc36b130b49f3
parentMerge pull request #392 from python-discord/fetch-devlog-channel (diff)
(TicTacToe): Created initial empty cog with loading.
-rw-r--r--bot/exts/evergreen/tic_tac_toe.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/bot/exts/evergreen/tic_tac_toe.py b/bot/exts/evergreen/tic_tac_toe.py
new file mode 100644
index 00000000..d4c95728
--- /dev/null
+++ b/bot/exts/evergreen/tic_tac_toe.py
@@ -0,0 +1,15 @@
+from discord.ext.commands import Cog
+
+from bot.bot import SeasonalBot
+
+
+class TicTacToe(Cog):
+ """TicTacToe cog contains tic-tac-toe game commands."""
+
+ def __init__(self, bot: SeasonalBot):
+ self.bot = bot
+
+
+def setup(bot: SeasonalBot) -> None:
+ """Load TicTacToe Cog."""
+ bot.add_cog(TicTacToe(bot))