1
0
Fork 0

trying to see where this shit breaks

refactor/models
Bsian 2020-04-02 01:11:29 +01:00
parent 12086cf815
commit fa2a0c8c10
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ export default class Eval extends Command {
}
if (args[0] === '-a') {
const index = evalMessage.findIndex((v) => v === '-a');
message.channel.createMessage(`${index}`);
evalString = `(async () => { ${evalMessage.slice(index).join(' ').trim()} })()`;
}