owobot/commands/eval.js

12 lines
258 B
JavaScript
Raw Normal View History

2024-08-12 05:13:32 -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
2024-07-27 02:39:18 -04:00
}