Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

Commit

Permalink
update node
Browse files Browse the repository at this point in the history
  • Loading branch information
jbis9051 committed Aug 11, 2024
1 parent efb9a36 commit 424d5a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugins/src/plugins/eval/test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const eval = require('./index');
const evaler = require('./index');

async function _run(code, msg) {
const val = await eval(code);
const val = await evaler(code);
if (val.error) {
msg.replyDirect(`Error running script: \`${val.result}\``);
return;
Expand Down

0 comments on commit 424d5a4

Please sign in to comment.