What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-17 19:03:03
discord.js
const Discord = require('discord.js'); const client = new Discord.Client(); client.on('ready', () => { console.log(`Logged in as ${client.user.tag}.`); }); client.on('message', message => { if (message.content.toLowerCase() === 'ping') { ... Add solution -
Python 2021-09-15 11:45:05
python naming conventions
#module names should be all lowercase import mymodule #normal variables are lowercase_with_underscores my_variable = 'value' #constants are UPPERCASE CONSTANT = 'never changes' #classes are UpperCaseCamelCase class MyClass(self): pass Add solution -
Javascript 2021-09-14 21:49:02
discord.js ticket system
const discord = require("discord.js"); module.exports.run = async (bot, message, args) => { // ID from the catogory channel tickets. const categoryId = "644626077704257546"; // Get username var userName = message.... Add solution -
Javascript 2021-09-13 17:48:01
javascript virtual assistant scrip[t
const startBtn = document.createElement("button"); startBtn.innerHTML = "Start listening"; const result = document.createElement("div"); const processing = document.createElement("p"); document.write("<body&... Add solution