Skip to content

Commit

Permalink
remove user-name from preview help command. There is no reason to pass (
Browse files Browse the repository at this point in the history
#47)

in a user-name because the rendering uses the current username
  • Loading branch information
jfrerich authored May 28, 2020
1 parent b24433b commit 2eca954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/mattermost/mattermost-server/v5/model"
)

const COMMAND_HELP = `* |/welcomebot preview [team-name] [user-name]| - preview the welcome message for the given team name. The current user's username will be used to render the template.
const COMMAND_HELP = `* |/welcomebot preview [team-name] | - preview the welcome message for the given team name. The current user's username will be used to render the template.
* |/welcomebot list| - list the teams for which welcome messages were defined
* |/welcomebot set_channel_welcome [welcome-message]| - set the welcome message for the given channel. Direct channels are not supported.
* |/welcomebot get_channel_welcome| - print the welcome message set for the given channel (if any)
Expand Down

0 comments on commit 2eca954

Please sign in to comment.