trying to see where this shit breaks
parent
e3d6c108d7
commit
16a6a01e6b
|
@ -34,6 +34,8 @@ export default class Eval extends Command {
|
|||
evalString = `(async () => { ${evalMessage.slice(index).join(' ').trim()} })()`;
|
||||
}
|
||||
|
||||
message.channel.createMessage(`${evalString}`);
|
||||
|
||||
try {
|
||||
evaled = await eval(evalString);
|
||||
if (typeof evaled !== 'string') {
|
||||
|
|
Loading…
Reference in New Issue