owobot/plugins/commands/eval.js

12 lines
261 B
JavaScript
Raw Normal View History

2024-07-28 16:30:19 -04:00
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
}