request: Slash Commands in Command framework
See original GitHub issueIs 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
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Enabling interactivity with Slash Commands - Slack API
When a slash command is invoked, Slack sends an HTTP POST to the Request URL you specified above. This request contains a data...
Read more >Slash Commands | Slack SDK for Java
Slash Commands. Slash Commands allow users to invoke your app from the message composer box. Responding to slash command invocations is a common...
Read more >Support slash commands in standard framework #1145 - GitHub
Now that slash commands are in the library, they should be supported inside of the standard framework.
Read more >Introduction to slash commands | Discord.Net Documentation
Slash commands are made up of a name, description, and a block of options, which you can think of like arguments to a...
Read more >Slash commands - Mattermost Developers
Slash commands are messages that begin with / and trigger an HTTP request to a web service that can in turn post one...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This will be made available through https://github.com/sapphiredev/interactions, however that plugin is currently WIP and waiting for @vladfrangu to finish it.
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.