well crap

This commit is contained in:
TheEssem 2021-03-16 15:59:59 -05:00
parent 03ddf5c88c
commit c0332673bf
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ module.exports = async (message) => {
const content = message.cleanContent.substring(prefix.length).trim();
const rawContent = message.content.substring(prefix.length).trim();
const args = content.split(/ +/g);
args.shift();
const command = rawContent.split(/ +/g).shift().toLowerCase();
// don't run if message is in a disabled channel