Pass client to eval

This commit is contained in:
IDeletedSystem64 2022-03-29 19:04:20 -05:00
parent ee7b194d83
commit e0a7891b4a
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ module.exports = {
name: 'eval',
description: 'Executes JS code',
async execute(_, message, args, config) {
async execute(client, message, args, config) {
if (message.author.id == config.ownerID) {
try {
const code = args.join(" ");