mirror of
https://github.com/mattermost/mattermost.git
synced 2026-10-24 23:34:52 +08:00
Merge pull request #1176 from florianorben/fix-shrug-command
Fix /shrug command
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ func shrugCommand(c *Context, command *model.Command) bool {
|
||||
cmd := "/shrug"
|
||||
|
||||
if !command.Suggest && strings.Index(command.Command, cmd) == 0 {
|
||||
message := "¯\\_(ツ)_/¯"
|
||||
message := `¯\\\_(ツ)_/¯`
|
||||
|
||||
parameters := strings.SplitN(command.Command, " ", 2)
|
||||
if len(parameters) > 1 {
|
||||
|
||||
Reference in New Issue
Block a user