typo oops
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-09-08 18:55:13 -07:00
parent 21c4316fc8
commit 475e406bab
3 changed files with 7 additions and 2 deletions

View File

@@ -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 {