diff options
Diffstat (limited to 'api/command_shrug.go')
-rw-r--r-- | api/command_shrug.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/api/command_shrug.go b/api/command_shrug.go index e34f80110..c49bd46ae 100644 --- a/api/command_shrug.go +++ b/api/command_shrug.go @@ -25,5 +25,10 @@ func (me *ShrugProvider) GetCommand() *model.Command { } func (me *ShrugProvider) DoCommand(c *Context, channelId string, message string) *model.CommandResponse { - return &model.CommandResponse{ResponseType: model.COMMAND_RESPONSE_TYPE_IN_CHANNEL, Text: `¯\_(ツ)_/¯`} + rmsg := `¯\\\_(ツ)\_/¯` + if len(message) > 0 { + rmsg = message + " " + rmsg + } + + return &model.CommandResponse{ResponseType: model.COMMAND_RESPONSE_TYPE_IN_CHANNEL, Text: rmsg} } |