Skip to content

Instantly share code, notes, and snippets.

@Shigbeard
Last active April 29, 2018 02:07
Show Gist options
  • Save Shigbeard/7003e5643511d889c71684d164f77b59 to your computer and use it in GitHub Desktop.
Save Shigbeard/7003e5643511d889c71684d164f77b59 to your computer and use it in GitHub Desktop.
from .redchess import RedChess
def setup(bot):
bot.add_cog(RedChess(bot))
from discord.ext import commands
class RedChess:
"""Play Chess with friends or against Red!"""
async def showHelp(self, ctx):
await ctx.send("```\nWIP```")
@commands.command()
async def chess(self, ctx, arg=None):
"""Shows help for Chess."""
if arg != None:
if isinstance(arg, str):
if arg == "help":
self.showHelp(ctx)
#await ctx.send("Ayy lmao")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment