From 5351a83762a6e6bd472249db09550e6892e3ab3d Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Wed, 14 Oct 2020 17:45:21 -0500 Subject: [PATCH] wrong url --- discord/bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/bot.go b/discord/bot.go index 932be97..314fe64 100644 --- a/discord/bot.go +++ b/discord/bot.go @@ -177,7 +177,7 @@ func (bot *Bot) NotifyNewBeatmap(channels []string, newMaps []osuapi.Beatmapset) } embed := &discordgo.MessageEmbed{ - URL: fmt.Sprintf("%s/map/%d/%d", bot.config.Web.ServedAt, beatmapSet.UserID, beatmapSet.ID), + URL: fmt.Sprintf("%s/map/%d/%d/versions", bot.config.Web.ServedAt, beatmapSet.UserID, beatmapSet.ID), Title: fmt.Sprintf("Update: %s - %s", beatmapSet.Artist, beatmapSet.Title), Timestamp: eventTime.Format(time.RFC3339), Author: &discordgo.MessageEmbedAuthor{