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