Discord bot can't show emote "sometimes"

how to make a discord bot
discord bots mee6
discord bot api
discord bot commands
18 discord bots
discord bot python
discord bots dashboard
discord bot admin

As a french Gwent player, I built a discord bot (using node.js and discord.js) to show the infos of a card when you name it. It uses some custom emotes to show some part of it.

It worked well for a few weeks, but recently some cards don't show the emotes when called.

I have no clue about what could be wrong. The emotes work if you use it yourself on the channel. Some cards show the emotes, others don't, even if they use the same emotes. And it's always all emotes or none for each card.

I checked different cards from my database : with or without emotes, I can't get any specific element which can explain why some cards can have emotes and why some cannot.

Is there something to know here that can explain this situation ?

Although this a late answer and you may have found an answer to the question but I'm going to post an answer anyways for others.

First in the chat you have to type:

\:custom_emote_here:

so in your case, you want it to show

and the name of it was :number5:, you would type :number5:.

You would get something like this: (of course, it would say :number5: and the start and the numbers would be different)

You can copy and paste that into your code. For example:

message.channel.send("<:super_magical:366208548914331659>")

would show this:

Hope this helps!

javascriptdiscorddiscord.jsemote

Discord Bots, Automating normal user accounts (generally called "self-bots") outside of the OAuth2/bot API is forbidden, and can result in an account  Discord Boats is a growing directory of Discord bots to enhance your server - Find the perfect bot for your needs and add it to your server easily, quickly and for free.

The developers of Discord have recently changed the way bots work with regards to custom emoji.

Before May 16th, bots could use any custom emoji from any server provided they are used inside rich embeds, as shown in your screenshot.

After that date, bots can use custom emoji from shared servers, but do not have to limit it to rich embeds only.

If you have the bot join all the servers that these custom emoji are being hosted on then it will be able to start using the emotes again.

Discord Developer Portal — Documentation, A bot uses the WebSocket API to request a connection, identify itself, heartbeat, manage voice connections, and do a few more fundamental things. You can read​  MEE6 is a Discord bot looking to bring great new features to your Discord server! The capable and helpful Tatsumaki. A Discord bot for XP & levels, moderation, more utilities, and fun stuff. Dank Memer is packed full of memes, fun, and unique experiences! Whether you gamble, steal from your friends, check the latest hot memes, roast your

I know that this question was asked quite a whiles ago but I thought I'd offer a solution I found after recently running into this issue myself for anyone else also facing this problem.

Normally, when you send an emoji in a message or embed via the <:name:id> format, Discord will convert it to a custom emoji. However, there are two cases where it represents all custom emojis in a message in the :name: format as shown in your example.

  1. If one of the custom emojis you are trying to send are no longer active in the server (i.e. you have removed it from the server).
  2. If you are trying to send an animated emoji via the <:name:id> format.

If either of the above two conditions are met, it seems like Discord defaults to converting all emojis in the message to :name: rather than the actual custom emoji.

I fixed it for myself by making sure that all of the emojis currently exist in the server emoji list before sending them. For animated emoji, you should send it via the <:a:name:id> format instead.

Discord Developer Portal — Documentation, We will explain our favorite Discord bots below and provide links so that you can download these bots to your server today. NuggetBot – A Multi-  Tatsumaki is an extremely capable Discord bot, which many online game streamers swear by. It extends you a ton of commands for moderation, setting welcome messages, notifications, and several other features. The bot is not just restricted to Discord but allows you to change the bot’s settings from a dedicated dashboard.

How to Make a Discord Bot: Overview and Tutorial, With Dyno, you can do just about everything via text commands: set up moderators, make announcements, manage roles (manually or through an  The bot is linked to a discord server and the bot will send all messages from a specific discord text channel (not his own messages though) to the Reddit group. And also the other way around. The bot will send all messages (except his own messages) in the discord group. This way Discord users could chat with Reddit users and the other way around.

10 Best Discord Bots Every Server Owner Should Try, While you could export DISCORD_TOKEN={your-bot-token} , an easier solution is to save a .env file on all machines that will be running this code  ice-bot . About. Universal discord bot to suite all of your needs. Want to use Ice? Invite link can be found on ice's website. Setting up. The setup is quite simple: Grab latest release and extract the contents somewhere on the disk; Install dependencies (See [#dependencies]) Aquire token (from discord developer portal) and save it in config

The 3 Best Public Discord Bots To Help Moderate Your Server, Now you can get your bot's token by using the "Click to Reveal Token" button under your bot username or simply click "Copy" and token will be  Discord Bots has moved to TOP.GG! You must be logged in to upvote bots! A simple bot that can countdown for you in seconds, minutes, and hours. Then, notify you when its done. Created By: da_Cat # 8169 zombsta123 # 8521 Nullex # 0190. This Bot Powers the Following Communities:

Comments
  • Thanks for the suggestion, but that's not it : as I said, for some cards the emote is here, for some others it's not, event if it's the SAME emote. I think something makes the emotes not working in some embed messages, but I don't get it. And btw, the bot is on the server these custom emotes are ;)