feat(macros): add Description (#1863)

Add release.Description to macros
This commit is contained in:
Nuno Sénica 2024-12-07 16:44:53 +00:00 committed by GitHub
parent a6b463fb69
commit ab718b8232
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,6 +32,7 @@ type Macro struct {
CurrentMonth int
CurrentSecond int
CurrentYear int
Description string
DownloadUrl string
Episode int
FilterID int
@ -103,6 +104,7 @@ func NewMacro(release Release) Macro {
CurrentMonth: int(currentTime.Month()),
CurrentSecond: currentTime.Second(),
CurrentYear: currentTime.Year(),
Description: release.Description,
DownloadUrl: release.DownloadURL,
Episode: release.Episode,
FilterID: release.FilterID,