mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-11-08 15:10:02 +00:00
Fix: Compare content for updates
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
788edcba5b
commit
4f63bf2d19
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ func (m modStreamSchedule) cronUpdateSchedule() {
|
|||
if managedMsg != nil {
|
||||
oldEmbed := managedMsg.Embeds[0]
|
||||
|
||||
if isDiscordMessageEmbedEqual(oldEmbed, msgEmbed) {
|
||||
if isDiscordMessageEmbedEqual(oldEmbed, msgEmbed) && strings.TrimSpace(managedMsg.Content) == strings.TrimSpace(contentString) {
|
||||
log.Debug("Stream Schedule is up-to-date")
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue