1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-02-11 05:52:58 +00:00
This commit is contained in:
mavolin 2020-05-08 00:47:08 +02:00
parent 728815e945
commit ee32e54bff
No known key found for this signature in database
GPG key ID: D8681218EDF216DF

View file

@ -80,6 +80,9 @@ func (c *Client) ModifyEmoji(
Roles []discord.Snowflake `json:"roles,omitempty"`
}
param.Name = name
param.Roles = roles
return c.FastRequest(
"PATCH",
EndpointGuilds+guildID.String()+"/emojis/"+emojiID.String(),