Skip to content

Commit

Permalink
Update invalid command message
Browse files Browse the repository at this point in the history
  • Loading branch information
chetanyakan committed Feb 5, 2020
1 parent 785bb78 commit 46a5fba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,10 @@ func GetCommand() *model.Command {
}
}

// TODO : Show help text instead of invalid command.
func executeConfluenceDefault(context *model.CommandArgs, args ...string) *model.CommandResponse {
return &model.CommandResponse{
ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL,
Text: "Invalid command",
Text: "Invalid command parameters. Please use `/confluence help` for more information.",
}
}

Expand Down

0 comments on commit 46a5fba

Please sign in to comment.