-
-
Save capJavert/8b9f7eda7d6d8ea37d7fd811335b550c to your computer and use it in GitHub Desktop.
Discord bot command to create custom emoji
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new SlashCommandBuilder() | |
.setName('create-emoji') | |
.setDescription('create emoji') | |
.addStringOption(option => option.setName('name') | |
.setDescription('Emoji name') | |
.setRequired(true) | |
.setMinLength(2) | |
) | |
.addAttachmentOption(option => option.setName('image') | |
.setDescription('Emoji image') | |
.setRequired(true) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment