Fix?
parent
3651e9fcad
commit
12086cf815
|
@ -18,7 +18,7 @@ export default class Eval extends Command {
|
||||||
|
|
||||||
public async run(message: Message, args: string[]) {
|
public async run(message: Message, args: string[]) {
|
||||||
try {
|
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 evalString = evalMessage.join(' ').trim();
|
||||||
let evaled: any;
|
let evaled: any;
|
||||||
let depth = 0;
|
let depth = 0;
|
||||||
|
|
Loading…
Reference in New Issue