Initial commit.

This commit is contained in:
DefsNotQuack
2025-03-29 10:58:56 +10:00
commit b17e3c5f28
6 changed files with 137 additions and 0 deletions

13
cogs/ping.py Normal file
View File

@@ -0,0 +1,13 @@
import discord
from discord.ext import commands
class Ping(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.slash_command(name="ping", description="Ping the bot")
async def ping(self, ctx: discord.ApplicationContext):
await ctx.respond("🏓 Pong!")
def setup(bot):
bot.add_cog(Ping(bot))