owobot/commands/eval.js

12 lines
258 B
JavaScript
Raw Normal View History

2024-08-12 04:33:43 -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
}