forked from engineering/cloudservices
Fix?
parent
3651e9fcad
commit
12086cf815
|
@ -18,7 +18,7 @@ export default class Eval extends Command {
|
|||
|
||||
public async run(message: Message, args: string[]) {
|
||||
try {
|
||||
const evalMessage = message.content.slice(this.client.config.prefix.length).split(' ').slice(1);
|
||||
const evalMessage = message.content.slice(this.client.config.prefix.length).trim().split(' ').slice(1);
|
||||
let evalString = evalMessage.join(' ').trim();
|
||||
let evaled: any;
|
||||
let depth = 0;
|
||||
|
|
Loading…
Reference in New Issue