Skip to content

Commit

Permalink
fix: re add every course for each date
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-espie committed Jul 5, 2023
1 parent 83fd082 commit 9340cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9340cf3

Please sign in to comment.