diff --git a/src/cogs/basic_game.py b/src/cogs/basic_game.py index 41864af..30a52fd 100644 --- a/src/cogs/basic_game.py +++ b/src/cogs/basic_game.py @@ -6,7 +6,13 @@ from discord.ext import commands class Cog(commands.Cog): """A base game cog that has a collection of basic game commands and checkers""" - pass + + def __init__(self, bot, session_cls=None): + self.bot = bot + self.sessions = {} + self.session_cls = Session if session_cls is None else session_cls + self.group = next(c for c in self.get_commands() if c.name == 'group') + self.group.name = self.qualified_name.lower() class Session: