diff --git a/example.py b/example.py new file mode 100644 index 0000000..e82009a --- /dev/null +++ b/example.py @@ -0,0 +1,13 @@ +import discord +from discord.ext import commands + +class Greetings(commands.Cog): + def __init__(self, bot): + self.bot = bot + + @commands.command() + async def hello(self, ctx): + await ctx.send(f'Hello {ctx.author}') + +def setup(bot): + bot.add_cog(Greetings(bot)) \ No newline at end of file