Answer the question
In order to leave comments, you need to log in
How to format text in a discord bot?
How to make the bot write the same as in the picture. Namely, in a frame, with a colored stripe on the left and discord markup.
Answer the question
In order to leave comments, you need to log in
I don't know how to format the text, but how to make text in a frame:
const { Client, RichEmbed } = require('discord.js');
// Create an instance of a Discord client
const client = new Client();
client.on('ready', () => {
console.log('What will he write to the console');
});
client.on('message', message => {
// If the message is "how to embed"
if (message.content === 'how to embed') {
const embed = new RichEmbed()
.setTitle('Title ')
.setColor(0xColor without #)
.setDescription('Text');
message.channel.send(embed);
}
});
client.login('
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question