Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How can i make the discord emojis work #1000

@Tuncion

Description

@Tuncion

I tried to obfuscate my discord Bot. Almost everything works perfectly except one thing and that is I save the emojis in a variable to use them in a message (string). unfortunately this does not work and in the message is then only the emoji id and not the emoji as wanted. Code is below :)

`
const emoji = client.emojis.cache.get("XXX")

    const embed_menu = new Discord.MessageEmbed()
    .setDescription(`
    This is the Test Emoji ${emoji}
    `)

    message.reply({embed: embed_menu})

`

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions