question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

request: Slash Commands in Command framework

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

14reactions
favnacommented, Aug 8, 2021

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

1reaction
favnacommented, Feb 18, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found