diff --git a/main.go b/main.go index 72fd691..f2b8d31 100644 --- a/main.go +++ b/main.go @@ -216,7 +216,7 @@ func getEmbed(course, event []*ics.VEvent, day string, weather discordwebhook.Fi if err != nil { return discordwebhook.Embed{} } - courseContent = "\n**" + start.In(location).Format("15:04") + "** → **" + end.In(location).Format("15:04") + "** : " + event.GetProperty("SUMMARY").Value + courseContent += "\n**" + start.In(location).Format("15:04") + "** → **" + end.In(location).Format("15:04") + "** : " + event.GetProperty("SUMMARY").Value } flag := true