What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-03 04:03:05
discord.js embed
// at the top of your file const Discord = require('discord.js'); // inside a command, event listener, etc. const exampleEmbed = new Discord.MessageEmbed() .setColor('#0099ff') .setTitle('Some title') .setURL('https://discord.js.org/') .setAuthor('So... Add solution -
Javascript 2021-10-02 18:13:04
discord bot
// Import the discord.js module const Discord = require('discord.js'); // Create an instance of a Discord client const client = new Discord.Client(); /** * The ready event is vital, it means that only _after_ this will your bot start reacting to inform... Add solution -
Other 2021-10-01 23:22:05
start discord bot from visual studio code
const Discord = require('discord.js') //this says that its using discord.js and classifing it as a bot const bot = new Discord.Client(); const token = 'put your bots token here!'; //link to the dev portal to make your own discord bot here: https://discor... Add solution -
Javascript 2021-10-01 05:37:03
discord.js remove reaction
Since this question is getting a lot of attraction, I decided to post what worked for me Remove Specific User's Specific Reaction // Channel = the channel object of the message's original channel // MessageID = ID of the message, if hard coding, put aro... Add solution -
Javascript 2021-10-01 05:08:02
discord.js components
const discord = require('discord.js'); //Define the discord.js module const client = new discord.Client(); //Creating discord.js client (constructor) require('discord-buttons')(client); const { MessageButton, MessageActionRow } = require('discord-buttons'... Add solution -
Javascript 2021-09-29 11:45:03
set embed color discord.js
// at the top of your file const Discord = require('discord.js'); // inside a command, event listener, etc. const exampleEmbed = new Discord.MessageEmbed() .setColor('#0099ff') .setTitle('Some title') .setURL('https://discord.js.org/') .setAuthor('So... Add solution -
Javascript 2021-09-21 08:06:09
how to use falix nodes for discord bot
//first you must install dicord.js by running the command: npm install discord.js //once u do that copy and paste this into your main file const Discord = require('discord.js'); const client = new Discord.Client(); client.on('ready', () =>{ client.us... Add solution -
Javascript 2021-09-17 19:03:03
discord.js
const Discord = require('discord.js'); const client = new Discord.Client(); client.on('ready', () => { console.log(`Logged in as ${client.user.tag}.`); }); client.on('message', message => { if (message.content.toLowerCase() === 'ping') { ... Add solution -
Javascript 2021-09-14 21:49:02
discord.js ticket system
const discord = require("discord.js"); module.exports.run = async (bot, message, args) => { // ID from the catogory channel tickets. const categoryId = "644626077704257546"; // Get username var userName = message.... Add solution