Skip to content

Commit 0d5f498

Browse files
committed
linter fix
1 parent 2a58802 commit 0d5f498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

remote/discord/remote.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ func handleDiscordMessage(bot *models.Bot, inputMsgs chan<- models.Message) any
213213
}
214214

215215
contents, mentioned := removeBotMention(m.Content, s.State.User.ID)
216-
message = populateMessage(message, msgType, m.ChannelID, m.Message.ID, contents, timestamp, mentioned, m.Author, bot)
216+
message = populateMessage(message, msgType, m.ChannelID, m.ID, contents, timestamp, mentioned, m.Author, bot)
217217
default:
218218
log.Error().Msgf("discord: read message of unsupported type '%d' - unable to populate message attributes", m.Type)
219219
}

0 commit comments

Comments
 (0)