createGuildEmoji
$client->emoji->createGuildEmoji($parameters);
Description
Create a new emoji for the guild. Requires the MANAGE_EMOJIS permission. Fires a Guild Emojis Update Gateway event.
Parameters
Name | Type | Required | Default |
---|---|---|---|
guild.id | snowflake | true | null |
name | string | false | null |
image | string | false | null |
roles | array | false | null |
Response
Returns the new emoji object on success.
Can Return:
- emoji