sapphiredev/framework

request: Slash Commands in Command framework

AltF02 opened this issue ยท 6 comments

Is your feature request related to a problem? Please describe.

Easy integration of slash commands

Describe the solution you'd like

An simple option to enable slash commands, e.g:

const client = new SapphireClient({
  defaultPrefix: '!',
  id: '123',
  slashCommands: true, 
});

Probably a little oversimplified but should hopefully explain it ๐Ÿ˜„

Describe alternatives you've considered

There is an example here, but it doesn't integrate well with non interaction commands imo

Additional context

N/A

And syncing with normal commands will be helpful

favna commented

This will be made available through https://github.com/sapphiredev/interactions, however that plugin is currently WIP and waiting for @vladfrangu to finish it.

Looks like that repo got archived, any other plans to implement this?

favna commented

It will be in the framework itself. There is a Q&A stage event tomorrow at 18:00 CEST which you can join on the Discord server: https://discord.gg/sapphiredev

its here check #293

favna commented

We forgot to close this with #293. Slash command support has been merged for a while now. For now it can be installed through npm i @sapphire/framework@next until we publish v3 to latest.