From 48a13e1fe8c1e4340e04bdcb697237815c526a1c Mon Sep 17 00:00:00 2001 From: mavolin <48887425+mavolin@users.noreply.github.com> Date: Fri, 15 May 2020 20:38:22 +0200 Subject: [PATCH 1/2] API: add missing trailing linefeed --- api/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/user.go b/api/user.go index 49e7318..848e7aa 100644 --- a/api/user.go +++ b/api/user.go @@ -84,4 +84,4 @@ func (c *Client) CreatePrivateChannel(recipientID discord.Snowflake) (*discord.C func (c *Client) UserConnections() ([]discord.Connection, error) { var conn []discord.Connection return conn, c.RequestJSON(&conn, "GET", EndpointMe+"/connections") -} \ No newline at end of file +} From 6ee5a1b26dbeba1bcbb086054bfdc6835235796c Mon Sep 17 00:00:00 2001 From: mavolin <48887425+mavolin@users.noreply.github.com> Date: Fri, 15 May 2020 20:39:08 +0200 Subject: [PATCH 2/2] Discord: fix #70 --- discord/guild.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/guild.go b/discord/guild.go index 6cda86b..4163e33 100644 --- a/discord/guild.go +++ b/discord/guild.go @@ -92,7 +92,7 @@ func (g Guild) SplashURL() string { return "" } - return "https://cdn.discordapp.com/banners/" + + return "https://cdn.discordapp.com/splashes/" + g.ID.String() + "/" + g.Splash + ".png" }