-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dbee036
commit d7d24f9
Showing
1 changed file
with
3 additions
and
10 deletions.
There are no files selected for viewing
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
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!") |