If the commands throws an error then the bot marks the command message with a cross emoji reaction otherwise it adds a check mark.
(Also resolved some overshadowing warning of extension)
The `setup` command creates a game instance for a channel.
It also has a check to see if one is already setup and a error handler to deal in that case.
I don't think that the check functions can be methods so the 'hack' is to use `ctx.cog` instead of `self` to get the cog instance.
There is also a function to check for the inverted condition preventing double defining every check.
Initializes bot like a regular Cog
Initializes an empty session dictionary
Initializes the class of the session with a possible default value
Changes the group command name to the Cog's name to avoid name clashes in commands
The commands `load`, `unload`, `reload` were added in the main `bot.py` file. With these one can dynamically load extensions like discord cogs.
The cog `developer` has some test commands and listeners. It also has a command to shut down the bot (and therefore the python program).
This only connects to the discord application and does nothing yet.
Access the token through a hidden environment file.
Set the command prefix to '$b '.