forked from engineering/cloudservices
trying to see where this shit breaks
parent
12086cf815
commit
fa2a0c8c10
|
@ -31,6 +31,7 @@ export default class Eval extends Command {
|
||||||
}
|
}
|
||||||
if (args[0] === '-a') {
|
if (args[0] === '-a') {
|
||||||
const index = evalMessage.findIndex((v) => v === '-a');
|
const index = evalMessage.findIndex((v) => v === '-a');
|
||||||
|
message.channel.createMessage(`${index}`);
|
||||||
evalString = `(async () => { ${evalMessage.slice(index).join(' ').trim()} })()`;
|
evalString = `(async () => { ${evalMessage.slice(index).join(' ').trim()} })()`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue