Please Help me it looks so cool so how do you code something like:
Thank you for the support if you can help!
The code is:
client.on(‘message’, msg => {
if (msg.content === '<@!457627686358089728>') {
msg.reply('**Hey There!** <a:Cheers:524894732611223552> ')
}
})|
Please copy it and add it as a emabled Thanks!
Techy
February 7, 2020, 9:47pm
2
@TH3_UNKNOWN That seems like a SelfBot which is a violation of Discord’s ToS.
ok i’ll delete it and will not use it anymore
well we just whant to say enabled cuz we on mobile and cant do it
Techy
February 7, 2020, 9:51pm
5
I don’t really understand your question. What are you trying to enable?
a message that looks cool, the message in the
msg.reply()
Techy
February 7, 2020, 9:52pm
7
Are you trying to create an embed?
Techy
February 7, 2020, 9:54pm
9
And to confirm this is via a bot account?
Techy
February 7, 2020, 9:56pm
11
I understand it looks cool, but I am asking if this is via a bot account. Because the one sent in the picture above seems like a selfbot which is a violation of Discord’s ToS.
Hey @TH3_UNKNOWN
Seems like you want embed! Well Its Actually Simple!
Here’s The Code:
const exampleEmbed = new Discord.RichEmbed()
.setColor('#0099ff')
.setTitle('Some title')
.setURL('https://discord.js.org/')
.setAuthor('Some name', 'https://i.imgur.com/wSTFkRM.png', 'https://discord.js.org')
.setDescription('Some description here')
.setThumbnail('https://i.imgur.com/wSTFkRM.png')
.addField('Regular field title', 'Some value here')
.addBlankField()
.addField('Inline field title', 'Some value here', true)
.addField('Inline field title', 'Some value here', true)
.addField('Inline field title', 'Some value here', true)
.setImage('https://i.imgur.com/wSTFkRM.png')
.setTimestamp()
.setFooter('Some footer text here', 'https://i.imgur.com/wSTFkRM.png');
channel.send(exampleEmbed);
Note: Not all fields are required. You can also pick the colours too!
You Can Learn More At https://discordjs.guide/popular-topics/embeds.html Assuming you use discord.js
If you use Eris, you can refer here
const Eris = require("eris");
const bot = new Eris("BOT_TOKEN");
// Replace BOT_TOKEN with your bot account's token
bot.on("ready", () => { // When the bot is ready
console.log("Ready!"); // Log "Ready!"
});
bot.on("messageCreate", (msg) => { // When a message is created
if(msg.content === "!embed") { // If the message content is "!embed"
bot.createMessage(msg.channel.id, {
embed: {
title: "I'm an embed!", // Title of the embed
description: "Here is some more info, with **awesome** formatting.\nPretty *neat*, huh?",
author: { // Author property
name: msg.author.username,
icon_url: msg.author.avatarURL
},
color: 0x008000, // Color, either in hex (show), or a base-10 integer
This file has been truncated. show original
1 Like
Thanks! though I found a solution