What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-22 19:59:15
discord.js package
const Discord = require ('discord.js') const bot = new Discord.Client() bot.on("ready", async () => { console.log("the bot is ready") }) client.on('message', msg => { if (msg.content === '!ping') msg.reply( &quo... Add solution -
Other 2021-10-22 05:26:07
discord rules template copy and paste
**1. Be respectful** You must respect all users, regardless of your liking towards them. Treat others the way you want to be treated. **2. No Inappropriate Language** The use of profanity should be kept to a minimum. However, any derogatory language tow... Add solution -
Other 2021-10-21 15:46:19
tailwind 2 on rails 6
Step 1 # Tailwind 2 For rails 6. (currently working 2021/03/13) Step 2 # Create a new rails app Step 3 # Run the following: yarn add tailwindcss@npm:@tailwindcss/postcss7-compat @tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9 Step 4 # Go to 'ap... Add solution -
Other 2021-10-21 13:47:13
how to mute someone discord.js
const Discord = require('discord.js'); const client = new Discord.Client(); const prefix = "!"; const token = ""; // Fill in your token client.on("message", msg => { msg.content.startsWith(prefix + "mute") { ... Add solution -
Other 2021-10-20 22:38:04
what is salad crypto miner
Salad uses your PC to mine crypto while you are AFK, they automatically mine the most profitable coin your machine can handle, increasing your overall return. You keep 100% of the profits earned through mining and pay a small fee when you purchase an it... Add solution -
Python 2021-10-20 18:47:10
youtube subscriber count discord bot activity
import discord from discord.ext import commands from discord.ext.commands import Bot from discord.utils import get import urllib.request import json import asyncio intents = discord.Intents.default() intents.members = True bot = commands.Bot(intents=int... Add solution -
Javascript 2021-10-18 15:03:05
Discord.js ban command
// 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-17 05:58:04
how to code welcome messages
// This is the needed event to use the welcome! bot.on('guildMemberAdd', async newMember => { // IMPORTANT NOTE: Make Sure To Use async and rename bot to client or whatever name you have for your bot events! const welcomeChannel = newMember.gui... Add solution -
Javascript 2021-10-16 21:59:06
discord.js empty field
const Discord = require('discord.js') const embed = new Discord.MessageEmbed() .setTitle('Example') .addFields( { name: 'foo', value: 'bar', inline: true }, { name: '\u200b', value: '\u200b', inline: true}, { name: 'foo2', value: 'bar... Add solution