Slash command handler#333
Merged
engelgabriel merged 1 commit intoRocketChat:masterfrom Jul 23, 2015
warcode:feature/slashcommands
Merged
Slash command handler#333engelgabriel merged 1 commit intoRocketChat:masterfrom warcode:feature/slashcommands
engelgabriel merged 1 commit intoRocketChat:masterfrom
warcode:feature/slashcommands
Conversation
Updated /me as example
Member
|
I really REALLY liked it! |
Member
|
@warcode I think on the add method, we should allow to pass on a "help" message.. so we can create a /help that will list all /commands |
Author
|
@engelgabriel Yes. That is a great idea. I considered a /help but there either has to be a way to show a message only to the person who typed the command, or have a bot send a direct message which might be confusing to new users. |
Member
|
Agrees, i think we could even be just a "autocomplete" box... like the mentions. |
Peym4n
added a commit
to redlink-gmbh/Rocket.Chat
that referenced
this pull request
Jun 12, 2018
new i18n-key documented
HappyTobi
pushed a commit
to HappyTobi/Rocket.Chat
that referenced
this pull request
Jul 10, 2018
This was referenced Dec 14, 2023
This was referenced Jan 5, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Handles all /commands by allowing registered callbacks for commands
First to register takes that command
Any entry starting with / will be intercepted and a message will not be delivered
Format is /command this goes as one big parameter
Updated /me as example