What do you want to save?
Add Code snippet
New code examples
-
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 -
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-05 19:54:03
discordjs.guide 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