Create composit class of available commands
This commit is contained in:
parent
0ed4ca4034
commit
bcbb74a3e1
@ -12,6 +12,12 @@
|
|||||||
|
|
||||||
from database.models import database, GameModel as Game
|
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:
|
class BaseGameManager:
|
||||||
"""Base Game Manager for each Game Manager class to inherit"""
|
"""Base Game Manager for each Game Manager class to inherit"""
|
||||||
|
|
||||||
@ -45,3 +51,7 @@ class BaseGameManager:
|
|||||||
"""
|
"""
|
||||||
database.close()
|
database.close()
|
||||||
|
|
||||||
|
class GameManager(NewGameManager, EndGameManager, GuessManager, PointsManager, HelpManager):
|
||||||
|
"""
|
||||||
|
Represents what this bot is able to do on a channel (or DMs)
|
||||||
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user