owobot/plugins/commands/eval.js

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
}