From 719c3d2012add5f1b12dbea6cf2d9d930ca901c5 Mon Sep 17 00:00:00 2001 From: WhatDidYouExpect <89535984+WhatDidYouExpect@users.noreply.github.com> Date: Sun, 5 Jan 2025 19:27:17 +0100 Subject: [PATCH] Create hello.py --- hello.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 hello.py diff --git a/hello.py b/hello.py new file mode 100644 index 0000000..1f499bb --- /dev/null +++ b/hello.py @@ -0,0 +1,13 @@ +import discord +from discord.ext import commands + +class Hello(commands.Cog): + def __init__(self, bot): + self.bot = bot + + @commands.command() + async def hello(self, ctx): + await ctx.send("Hello, world!") + +async def setup(bot): + await bot.add_cog(Hello(bot))