Commit ed80537d81

ed80537d814acb5ac5dc187f357d202770bf2b7c

parent: f3686059ea

Unsigned

Wraient <wraient.911@gmail.com> · 2025-07-23 18:18 UTC

Remove: Redundant keywords

Layout: unified · split

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