mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-03-30 13:59:32 +00:00
Merge pull request #72 from mavolin/70-endpoint
Discord: fix wrong URL endpoint
This commit is contained in:
commit
aa99f50b9c
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue