What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-24 14:30:11
discord.js guide
const Discord = require('discord.js'); const client = new Discord.Client(); client.on('ready', () => { console.log(`Logged in as ${client.user.tag}!`); }); client.on('message', msg => { if (msg.content === 'ping') { msg.reply('Pong!'); }... Add solution -
Javascript 2022-02-23 06:35:02
joe biden conspiracy
const Discord = require('discord.js'); const client = new Discord.Client(); client.on('ready', () => { console.log(`Logged in as ${client.user.tag}!`); }); client.on('message', msg => { if (msg.content === 'ping') { msg.reply('Pong!'); }... Add solution -
Javascript 2022-01-31 10:20:07
discord message reply
client.on("message", (message) => { if (message.content === "Server active") { message.channel.send(`I am Active in ${client.guilds.cache.size} Servers`); } if (message.content === "Server size") { ... Add solution -
Other 2021-11-16 22:40:13
Curl Shell Script To Purge Cache From Stackpath CDN
#!/usr/bin/env bash # Usage: # A simple shell script to purge Stackpath cdn cache using API and curl # command line. Tested on Ubuntu/Debian/RHEL/Fedora Linux and FreeBSD/macOS Unix # Syntax: # /path/to/stackpath.purge.sh https://your-domain/url # -----... Add solution -
Javascript 2021-11-08 23:27:11
discordjs
const Discord = require('discord.js'); const client = new Discord.Client(); client.on('ready', () => { console.log(`Logged in as ${client.user.tag}!`); }); client.on('message', msg => { if (msg.content === 'ping') { msg.reply('Pong!'); }... 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 -
Javascript 2021-10-17 17:23:06
channel info discord.js
// COMPLICATED SCRIPT DONT DISLIKE IF YOU CANT UNDERSTAND // client.on('message', message => { if (message.content.toLowerCase() === prefix + 'channel') { if (message.author.bot) return; if (UtilCommandsDisable.has(message.guild.id... Add solution
Best helpers
Bread
+5
Annu_tiger
+5
Webelo
+5
Des Wilson
+5
Twbrown
+5
Dreeves
+5
Xoxocrow
+5
Arash.amd
+5
Gaussler
+5
Kenny W
+5
Chris Crook
+5
Xzhu
+5
Steven Choi
+5
AndrewBC
+5
Static
+5
C. Starr
+5