MCPcopy
hub / github.com/mattermost/mattermost / Execute

Method Execute

server/public/pluginapi/slashcommand.go:31–33  ·  view source on GitHub ↗

Execute executes a slash command. Minimum server version: 5.26

(command *model.CommandArgs)

Source from the content-addressed store, hash-verified

29//
30// Minimum server version: 5.26
31func (c *SlashCommandService) Execute(command *model.CommandArgs) (*model.CommandResponse, error) {
32 return c.api.ExecuteSlashCommand(command)
33}
34
35// Create creates a server-owned slash command that is not handled by the plugin
36// itself, and which will persist past the life of the plugin. The command will have its

Callers 15

RunFunction · 0.45
applyExampleFunction · 0.45
generateHooksGlueFunction · 0.45
generatePluginTimerLayerFunction · 0.45
formatStateFunction · 0.45
generateLayerFunction · 0.45
TestPluginDeadlockFunction · 0.45
mainFunction · 0.45
initMetricsRouterMethod · 0.45
RunFunction · 0.45

Calls 1

ExecuteSlashCommandMethod · 0.65