Skip to content

Commit

Permalink
Update mysecondcog.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Redjumpman authored Aug 11, 2018
1 parent dbee036 commit d7d24f9
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions mysecondcog/mysecondcog.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
from discord.ext import commands
from redbot.core import commands


# Classname should be CamelCase and the same spelling as the folder
class MySecondCog:
"""Description of the cog visible with [p]help MySecondCog"""

def __init__(self, bot):
self.bot = bot

@commands.command()
async def mysecondcom(self):
async def mysecondcom(self, ctx):
"""Description of myfirstcom visible with [p]help mysecondcom"""
# Your code will go here
pass


def setup(bot):
bot.add_cog(MySecondCog(bot))
await ctx.send("My second cog!")

0 comments on commit d7d24f9

Please sign in to comment.