owobot/plugins/commands/eval.js
2024-07-28 16:30:19 -04:00

11 lines
261 B
JavaScript

const index = require('../../index.js') // Not used in the code, but may be used by users of the command
module.exports = {
execute: (c) => {
try {
console.log(eval(c.args.join(' ')))
} catch (e) {
console.error(e)
}
},
level: 3
}