mirror of
https://github.com/RustyRaptor/GodEmperorBot-Cogs.git
synced 2026-12-03 15:55:19 -07:00
test code
This commit is contained in:
1 parent
19a9af6803
commit
6ae648ef94
4 files changed
+20
No files matched your search
@@ -127,3 +127,7 @@ dmypy.json
|
||||
|
||||
# Pyre type checker
|
||||
.pyre/
|
||||
|
||||
# Doge's Additions
|
||||
.idea/
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
from .testcog import Testcog
|
||||
|
||||
|
||||
def setup(bot):
|
||||
bot.add_cog(Testcog())
|
||||
Whitespace-only changes.
@@ -0,0 +1,11 @@
|
||||
from redbot.core import commands
|
||||
|
||||
|
||||
class Testcog(commands.Cog):
|
||||
"""My custom cog"""
|
||||
|
||||
@commands.command()
|
||||
async def mycom(self, ctx):
|
||||
"""This does stuff!"""
|
||||
# Your code will go here
|
||||
await ctx.send("I can do stuff!")
|
||||
Reference in new issue
Block a user