mirror of
https://github.com/RustyRaptor/doge_cogs.git
synced 2026-12-03 15:55:21 -07:00
test slash command
This commit is contained in:
1 parent
4cffd703cb
commit
93ff66b8f7
1 file changed
+6
-6
@@ -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!")
|
||||
Reference in new issue
Block a user