I'm trying add add a slash command to my client class. I did get the command
running in one of my cogs, but I'm not getting it working in the following use case:
class ClanBotjasClient(commands.Bot):
...
@commands.slash_command(name="test",
description="test command",
guild_ids=settings.DISCORD_GUILD_IDS )
async def test(self, ctx: discord.ApplicationContext):
await ctx.respond("test message")
Does anyone know if this is actually supposed to work? Or am I missing something?