This commit is contained in:
@@ -167,7 +167,7 @@ func (b *Bot) CreateBotDebuggingChannelIfNeeded() {
|
||||
|
||||
func (b *Bot) SendMsgToChannel(msg string, replyToId string, channelId string) {
|
||||
post := &model.Post{}
|
||||
post.ChannelId = ChannelId
|
||||
post.ChannelId = channelId
|
||||
post.Message = msg
|
||||
post.RootId = replyToId
|
||||
if _, resp := b.client.CreatePost(post); resp.Error != nil {
|
||||
|
||||
Reference in New Issue
Block a user