diff options
author | 2018-10-02 20:47:43 +0200 | |
---|---|---|
committer | 2018-10-02 20:47:43 +0200 | |
commit | 907186da12554bac7dd0971118ab0d11a55cf579 (patch) | |
tree | c208704d1b7cc9e54865f0baa902f604e0a8509b /bot/cogs/template.py | |
parent | Implemented flake8 and a Discord Bot base. (diff) |
Missed cogs directory.
Diffstat (limited to 'bot/cogs/template.py')
-rw-r--r-- | bot/cogs/template.py | 14 |
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)) |