Discord.js: Cannot Mention in embed

Created on 23 May 2017  Â·  11Comments  Â·  Source: discordjs/discord.js

.setTitle('Hello , ' + message.author.toString())
Shows The ID without Mention
image

invalid

All 11 comments

I think this is a discord issue and not discord.js.

is there any other way to make a mention in embed ?

no

@modey2013 Also, embeds don't mention in the first place. So just do @[username].

title can't have mentions or markdown also don't follow that above ^

"title can't have mentions or markdown"
should it work in .addField ?

yes will work in description too

Mentions only "work" in descriptions and fields. They don't actually ping
the role / person, it just shows like it does.

On 23 May 2017 18:11, "Hakase Professor" notifications@github.com wrote:

yes will work in description too

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hydrabolt/discord.js/issues/1519#issuecomment-303429952,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARIOMJ3SZT2xRpC74MHtHZvN5tJHA2OWks5r8vcngaJpZM4NjmSd
.

image
image

Same Issue

any title like embed title or field can't have mentions and markdown

Dude Write This .addField('Welcome',<@${memeber.id}>)
This Welcome Code ?
if not welcome code put this
.addField('Welcome',<@${msg.author.id}>)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

smchase picture smchase  Â·  3Comments

Blumlaut picture Blumlaut  Â·  3Comments

shukriadams picture shukriadams  Â·  3Comments

Lombra picture Lombra  Â·  3Comments

Alipoodle picture Alipoodle  Â·  3Comments