Skip to content

Instantly share code, notes, and snippets.

💻
Programming

Isabella Lewdcario

💻
Programming
View GitHub Profile
@Lewdcario
Lewdcario / eval.js
Created May 13, 2018
Discord.js sample eval command
View eval.js
const { inspect } = require('util');
client.on('message', async message => {
const args = message.content.split(' ');
const command = args.shift().toLowerCase();
if (command === 'eval') {
// Put your userID here
if (message.author.id !== 'ownerID') return;
You can’t perform that action at this time.