Create composit class of available commands

This commit is contained in:
c0de 2022-11-10 22:43:40 -06:00
parent 0ed4ca4034
commit bcbb74a3e1

View File

@ -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)
"""