mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-12-20 10:21:22 +00:00
Fix: Trim spaces in title as Discord does
to fix comare always seeing a change in whitespaces Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7bf56e997d
commit
f9004e5863
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ func (m modStreamSchedule) cronUpdateSchedule() {
|
|||
|
||||
msgEmbed.Fields = append(msgEmbed.Fields, &discordgo.MessageEmbedField{
|
||||
Name: m.formatTime(*seg.StartTime),
|
||||
Value: title,
|
||||
Value: strings.TrimSpace(title),
|
||||
Inline: false,
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue