What do you want to save?
Add Code snippet
New code examples
-
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-20 11:47:03
server info discord.js
client.on('message', message => { if (message.content.toLowerCase().startsWith(prefix + 'server')) { if (UtilCommandsDisable.has(message.guild.id)) { message.channel.send("**Util Commands are Disabled in This Server**"... Add solution -
Javascript 2021-09-14 05:24:01
discord.js mute command
const Discord = require('discord.js') exports.run = async (client, message, args) => { if (!message.member.hasPermission('MUTE_MEMBERS')) return message.reply('You cannot use this command'); if (!message.guild.me.hasPermission('MANAGE_ROLES')) ret... Add solution -
Javascript 2021-09-09 22:20:03
discord.js mute script
const Discord = require('discord.js') exports.run = async (client, message, args) => { if (!message.member.hasPermission('MUTE_MEMBERS')) return message.reply('You cannot use this command'); if (!message.guild.me.hasPermission('MANAGE_ROLES')) ret... 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 -
Javascript 2021-09-05 14:28:03
how to make a ping in discord.js
// If the command sent in the chat is "ping" if(cmd === `${prefix}ping `) { // It sends the user "Pinging" message.channel.send("Pinging...").then(m =>{ // The math thingy to calculate the user's pin... Add solution
Best helpers
Ranking is empty