From 6ae648ef940a1417d85f2541df678af3b8d6d4d2 Mon Sep 17 00:00:00 2001 From: RustyRaptor Date: Mon, 12 Oct 2020 01:43:13 -0600 Subject: [PATCH] test code --- .gitignore | 4 ++++ testcog/__init__.py | 5 +++++ testcog/info.json | 0 testcog/testcog.py | 11 +++++++++++ 4 files changed, 20 insertions(+) create mode 100644 testcog/__init__.py create mode 100644 testcog/info.json create mode 100644 testcog/testcog.py diff --git a/.gitignore b/.gitignore index b6e4761..57f0e32 100644 --- a/.gitignore +++ b/.gitignore @@ -127,3 +127,7 @@ dmypy.json # Pyre type checker .pyre/ + +# Doge's Additions +.idea/ + diff --git a/testcog/__init__.py b/testcog/__init__.py new file mode 100644 index 0000000..1059049 --- /dev/null +++ b/testcog/__init__.py @@ -0,0 +1,5 @@ +from .testcog import Testcog + + +def setup(bot): + bot.add_cog(Testcog()) diff --git a/testcog/info.json b/testcog/info.json new file mode 100644 index 0000000..e69de29 diff --git a/testcog/testcog.py b/testcog/testcog.py new file mode 100644 index 0000000..6b80dec --- /dev/null +++ b/testcog/testcog.py @@ -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!")