From 93ff66b8f7fe7f7f542f878f5e1c692fcd21416a Mon Sep 17 00:00:00 2001 From: Ziad Arafat Date: Mon, 11 Aug 2025 06:04:57 -0600 Subject: [PATCH] test slash command --- doge_alignment/doge_alignment.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doge_alignment/doge_alignment.py b/doge_alignment/doge_alignment.py index b8d98c1..e676177 100644 --- a/doge_alignment/doge_alignment.py +++ b/doge_alignment/doge_alignment.py @@ -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!")