aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Marko Kovačević <[email protected]>2018-10-02 20:47:43 +0200
committerGravatar GitHub <[email protected]>2018-10-02 20:47:43 +0200
commit907186da12554bac7dd0971118ab0d11a55cf579 (patch)
treec208704d1b7cc9e54865f0baa902f604e0a8509b
parentImplemented flake8 and a Discord Bot base. (diff)
Missed cogs directory.
-rw-r--r--bot/cogs/template.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/bot/cogs/template.py b/bot/cogs/template.py
new file mode 100644
index 00000000..a2c3bb7a
--- /dev/null
+++ b/bot/cogs/template.py
@@ -0,0 +1,14 @@
+from discord.ext import commands
+
+
+class Template:
+ def __init__(self, bot):
+ self.bot = bot
+
+ @commands.command()
+ async def template(self, ctx):
+ await ctx.send('It indeed is a template cog!')
+
+
+def setup(bot):
+ bot.add_cog(Template(bot))