📝 Renamed games.py to gamesContainer.py
Making it clear that it's a container and should only be used to store other classes.
This commit is contained in:
19
funcs/games/gamesContainer.py
Normal file
19
funcs/games/gamesContainer.py
Normal file
@ -0,0 +1,19 @@
|
||||
from .invest import Invest
|
||||
from .trivia import Trivia
|
||||
from .blackjack import Blackjack
|
||||
from .connectFour import connectFour
|
||||
from .gameLoops import GameLoops
|
||||
from .hangman import Hangman
|
||||
from .hex import HexGame
|
||||
|
||||
class Games():
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
|
||||
self.invest = Invest(bot)
|
||||
self.trivia = Trivia(bot)
|
||||
self.blackjack = Blackjack(bot)
|
||||
self.connectFour = connectFour(bot)
|
||||
self.gameLoops = GameLoops(bot)
|
||||
self.hangman = Hangman(bot)
|
||||
self.hex = HexGame(bot)
|
Reference in New Issue
Block a user