Skip to content

Instantly share code, notes, and snippets.

View Lewdcario's full-sized avatar
💻
Programming

Okami Lewdcario

💻
Programming
View GitHub Profile
@Lewdcario
Lewdcario / eval.js
Last active August 6, 2022 20:20
Discord.js sample eval command
const { inspect } = require('util');
client.on('messageCreate', 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;