test slash command

This commit is contained in:
Ziad Arafat committed 2025-08-11 06:04:57 -06:00
1 parent 4cffd703cb
commit 93ff66b8f7
1 file changed
+6 -6
+6 -6
View File
@@ -1,14 +1,14 @@
from redbot.core import commands
from redbot.core import app_commands, commands
class MyCog(commands.Cog):
"""My custom cog."""
class AlignmentCog(commands.Cog):
"""Cog for keeping track of alignment charts."""
def __init__(self, bot):
def __init__(self, bot) -> None:
self.bot = bot
@commands.command()
async def mycom(self, ctx):
@app_commands.command()
async def alignment(self, ctx):
"""This does stuff!"""
# Your code will go here
await ctx.send("I can do stuff!")