B
B
Bloodycat2020-04-29 22:52:56
JavaScript
Bloodycat, 2020-04-29 22:52:56

How to make clickable text?

so that when I click on the inscription, I would be thrown by the link, here is my code, but I want to do it without this huge link:

const Discord = require('discord.js')

module.exports.run = async (bot, message, args) => {

  let embed = new (Discord.version >= "12" ? Discord.MessageEmbed : Discord.RichEmbed)()
    .setDescription("тут ссылка")
    .setColor(0x00FF00)
    await message.channel.send(embed)
}
module.exports.help = {
    name: 'invite'
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CatCatcher, 2020-04-29
@bloodycat

"[текст](ссылка)"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question