Commit ed80537d81
Unsigned
Layout: unified · split
internal/discord.go +2 −2
| @@ -37,11 +37,11 @@ func DiscordPresence(anime Anime, IsPaused bool) error { | ||
| 37 | 37 | //SmallImage: anime.SmallCoverImage, // Image for the bottom left corner |
| 38 | 38 | //SmallText: fmt.Sprintf("Episode: %s", anime.Ep.Title.English), // Text when hovering over the small image |
| 39 | 39 | Buttons: []*client.Button{ |
| 40 | &client.Button{ | |
| 40 | { | |
| 41 | 41 | Label: "View on AniList", // Button label |
| 42 | 42 | Url: fmt.Sprintf("https://anilist.co/anime/%d", anime.AnilistId), // Button link |
| 43 | 43 | }, |
| 44 | &client.Button{ | |
| 44 | { | |
| 45 | 45 | Label: "View on MAL", // Button label |
| 46 | 46 | Url: fmt.Sprintf("https://myanimelist.net/anime/%d", anime.MalId), // Button link |
| 47 | 47 | }, |