What do you want to save?
Add Code snippet
New code examples
-
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-08-31 07:57:01
discord.js bot
//Here is how to get your bot up and running! //1: Go to https://nodejs.org/ and download node.js. //2: Open your code editor //3: Make a new folder. //4: Name it DiscordBot - This can be whatever you want. //5: Make a text document and name it main.js //... Add solution