Project for a discord bot with multiple cogs. Mainly for text-based games, but also some for utility.
Go to file
Bibin Muttappillil 823238ee37 Feat: Add setup command with check and error
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.
2021-01-04 01:28:07 +01:00
src Feat: Add setup command with check and error 2021-01-04 01:28:07 +01:00
.gitignore Initial commit 2020-12-27 00:40:16 +01:00
README.md Initial commit 2020-12-27 00:40:16 +01:00

README.md

discord-bot

Project for a discord bot with multiple cogs.

Mainly for text-based games, but also some for utility.