What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-20 08:18:24
create commands in disocrd.js
const { prefix, token } = require('./config.json'); // ... client.login(token); //........................................ client.on('message', message => { if (message.content === `${prefix}ping`) { message.channel.send('Pong.'); } else if (mes... Add solution -
Javascript 2021-11-18 03:53:19
discord.js bad word filter
// I DOUBT IF IT WORKS // // COMPLICATED SCRIPT BY ME // client.on('message', message => { const FilteredWords = ["darn", "fuck", "bitch", "pussy", " ass", "nigga", "fucker", &qu... Add solution -
Java 2021-11-17 05:27:13
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-11-12 09:44:23
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 -
TypeScript 2021-11-05 13:56:18
bot stats discord.js
// - COMPLICATED SCRIPT DONT DISLIKE IF YOU CANT UNDERSTAND // client.on('message', message => { if (message.content.toLowerCase().startsWith(prefix + 'stats')) { if (message.author.bot) return; const ToTalSeconds = (client.uptime... Add solution