:dice: Games container

This commit is contained in:
NikolajDanger
2021-04-17 21:44:00 +02:00
committed by Nikolaj
parent e07326d8ce
commit 9948f03913

View File

@ -1,3 +1,13 @@
"""
Has a container for game functions.
*Classes*
---------
Games
Container for game functions.
"""
from .invest import Invest
from .trivia import Trivia
from .blackjack import Blackjack
@ -5,8 +15,29 @@ from .connectFour import ConnectFour
from .hangman import Hangman
from .hex import HexGame
class Games():
"""
Contains game classes.
*Attributes*
------------
bot: Gwendolyn
The instance of Gwendolyn.
invest
Contains investment functions.
blackjack
Contains blackjack functions.
connectFour
Contains connect four functions.
hangman
Contains hangman functions.
hex
Contains hex functions
"""
def __init__(self, bot):
"""Initialize the container."""
self.bot = bot
self.invest = Invest(bot)