goober/customcommands/hello.py
2025-01-05 20:57:18 +01:00

13 lines
282 B
Python

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))