Bot doesn't respect prefix
selfisekai opened this issue · comments
Bot triggers by messages, which aren't starting with prefix set in config (f.e. "esteem" instead of "!steem")
That's right just check this code:
const command = message.content.slice(config.prefix.length);
Discord interprets this like one letter/sign before message.