#Emoji bot

1 messages · Page 1 of 1 (latest)

true cypress

Guys anyone can tell me how to use emojis sending thing in bot? Like

My bot uses emojis.js (where bot stores the id of the emojis of its own emojis in app discord)

Like here is my emojis.js

export const emojis = {
    vx_music: "147516752918011530",
    vx_next: "1466333718925807668",
    vx_back: "1466333504836075617",
    vx_spotify: "1466333255170003066",
    vx_shuffle: "1466333159179161818",
    vx_loop: "1466333076832653374",
    vx_favorite: "1466332846603112624",
    vx_stop: "1466332152928141511",
    vx_play: "1466331500478857289",
    vx_online: "1466331383332081887",
    vx_masti: "1466331301895209117",
    vx_dhappa: "1466331178184343869",
    vx_TutaHua: "1466330954556768432",
    vx_hello: "1466330812533309601",
    Vyloxis: "1466330107676328056",
    vx_ping: "1463793322819715183"
};

And this is how I pass the emoji

const emoji = `<:vx_TutaHua:${emojis.vx_TutaHua}>`;
const header = new SectionBuilder()
    .addTextDisplayComponents(
      new TextDisplayBuilder().setContent(
        [
          `## Meow ${emoji}`,
...

But in this bot just shows is emoji name in msg like :vx_TutaHua: