$addEmoji
$addEmoji
will add an emoji to the given guild. If role IDs are given, the emoji will only be usable by users with one
of the provided role IDs.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID | number | guild ID | true |
URL | string | valid image URL | true |
name | string | emoji name | true |
returnEmoji? | string | return the created emoji? | false |
reason? | string | reason which will be displayed in the guild’s audit logs | false |
roles? | number | which roles will be able to use the given emoji | false |
Example(s)
This will create an emoji: