mirror of https://github.com/velour/catbase.git
fix gok error
This commit is contained in:
parent
021cbee40a
commit
b69990e10f
|
@ -509,7 +509,7 @@ func (s *Slack) buildMessage(m slackMessage) msg.Message {
|
||||||
Channel: m.Channel,
|
Channel: m.Channel,
|
||||||
Command: isCmd,
|
Command: isCmd,
|
||||||
Action: isAction,
|
Action: isAction,
|
||||||
Host: string(m.ID),
|
Host: fmt.Sprint(m.ID),
|
||||||
Time: tstamp,
|
Time: tstamp,
|
||||||
AdditionalData: map[string]string{
|
AdditionalData: map[string]string{
|
||||||
"RAW_SLACK_TIMESTAMP": m.Ts,
|
"RAW_SLACK_TIMESTAMP": m.Ts,
|
||||||
|
@ -543,7 +543,7 @@ func (s *Slack) buildLightReplyMessage(m slackMessage) msg.Message {
|
||||||
Channel: m.Channel,
|
Channel: m.Channel,
|
||||||
Command: isCmd,
|
Command: isCmd,
|
||||||
Action: isAction,
|
Action: isAction,
|
||||||
Host: string(m.ID),
|
Host: fmt.Sprint(m.ID),
|
||||||
Time: tstamp,
|
Time: tstamp,
|
||||||
AdditionalData: map[string]string{
|
AdditionalData: map[string]string{
|
||||||
"RAW_SLACK_TIMESTAMP": m.Ts,
|
"RAW_SLACK_TIMESTAMP": m.Ts,
|
||||||
|
|
Loading…
Reference in New Issue