embed code example

Example 1: Discord embeds

const Discord = require("discord.js")

const embed = new Discord.MessageEmbed() // Ver 12.2.0 of Discord.js
.setTitle("This is a title")
.setDescription("This is a description")
.setTimestamp()
.setFooter("This is a footer")
.setAuthor("This is the author's name", //and this its profile pic)
.addField("This is a field", "this is its description")
.setImage("https://images-ext-2.discordapp.net/external/cC-YBJkH2GXnX7MHMASUM9Gle1S1im3rDJj2K54A28w/%3Fcid%3D73b8f7b19a5ccc575679c0a7fc4a673b753e4ce993f35223%26rid%3Dgiphy.mp4/https/media2.giphy.com/media/Q8bEDnj9hZd6vivXSZ/giphy.mp4")
.setThumbnail("https://images-ext-2.discordapp.net/external/cC-YBJkH2GXnX7MHMASUM9Gle1S1im3rDJj2K54A28w/%3Fcid%3D73b8f7b19a5ccc575679c0a7fc4a673b753e4ce993f35223%26rid%3Dgiphy.mp4/https/media2.giphy.com/media/Q8bEDnj9hZd6vivXSZ/giphy.mp4")
<message>.<channel>.send(embed) // Remove the brackets <>

Example 2: bloxverify embed code

function delay(){
    setTimeout(function(){return true;},30000);
};
document.getElementById('bloxverifybuttonparent').innerHTML = '<img src="https://embed.bloxverify.me/loading.gif">';
delay()
document.getElementById('bloxverifybuttonparent').innerHTML = '<link rel="stylesheet" href="https://embed.bloxverify.me/button.css" /> <a title="Login with ROBLOX"> <button class="loginwithroblox" onclick="loginwithroblox()" alt="Login with ROBLOX" />Login with <img src="https://embed.bloxverify.me/roblox.png"></a>';
function loginwithroblox() {
var data = document.querySelector('.bloxverifydata');
var token = data.getAttribute('bloxverify-token');
var goback = data.getAttribute('bloxverify-return');
var sso = data.getAttribute('bloxverify-sso');
var requests = data.getAttribute('bloxverify-requests');
console.log("[BLOXVERIFY API]: Token: " + token + "\n Go Back URI: " + goback + " \n SSO URL: " + sso + " REQUESTS HEADERS: " + requests)
}

/*
Preview it at embed.bloxverify.me/preview.php
Type this code inside your site:
<script type="text/javascript" class="bloxverifydata" src="https://embed.bloxverify.me/" bloxverify-token="your-authorization--token" bloxverify-requests="username+verifystatus+profileicon" bloxverify-sso="http://mysite.com/sso.php" bloxverify-return="http://mysite.com/welcome">
alert("Redirecting to a URL that's off this domain with differnt term's of service's & privacy policy's. \n Website: bloxverify.me \n Your being redirected there for ROBLOX Login Verification")
</script>
<div class="bloxverifybuttonparent">
</div>
*/

Example 3: embed

if(command === '<The command name>'){
	const embed = new Discord.MessageEmbed();
	.setTitle('Title')
	.setDiscription('Discription')


	message.channel.send(embed)
   
}

Example 4: embedmd

'#INCLUDE filename.md'

Example 5: embed

<img src="data:image/png;base64,iVBORw0KGgoAAA
ANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4
//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU
5ErkJggg==" alt="Red dot" />

Tags:

Misc Example