From bcbb74a3e1ec2ad42ad0331269b1cef545e8ee46 Mon Sep 17 00:00:00 2001 From: c0de Date: Thu, 10 Nov 2022 22:43:40 -0600 Subject: [PATCH] Create composit class of available commands --- GhostBallBot/game/manager.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/GhostBallBot/game/manager.py b/GhostBallBot/game/manager.py index 732428f..c5d663a 100644 --- a/GhostBallBot/game/manager.py +++ b/GhostBallBot/game/manager.py @@ -12,6 +12,12 @@ from database.models import database, GameModel as Game +from game.new_game import NewGameManager +from game.end_game import EndGameManager +from game.guess import GuessManager +from game.points import PointsManager +from game.help import HelpManager + class BaseGameManager: """Base Game Manager for each Game Manager class to inherit""" @@ -45,3 +51,7 @@ class BaseGameManager: """ database.close() +class GameManager(NewGameManager, EndGameManager, GuessManager, PointsManager, HelpManager): + """ + Represents what this bot is able to do on a channel (or DMs) + """