Last active
April 29, 2018 02:07
-
-
Save Shigbeard/7003e5643511d889c71684d164f77b59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from .redchess import RedChess | |
def setup(bot): | |
bot.add_cog(RedChess(bot)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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