|
@@ -50,7 +50,7 @@ client.bot.on("message", async m => {
|
|
content = content.substring(`@${client.botUser.username}`.length).trim();
|
|
content = content.substring(`@${client.botUser.username}`.length).trim();
|
|
const lowerCaseContent = content.toLowerCase();
|
|
const lowerCaseContent = content.toLowerCase();
|
|
|
|
|
|
- if (plgMgr.runCommand(m, content))
|
|
|
|
|
|
+ if (await plgMgr.runCommand(m, content))
|
|
return;
|
|
return;
|
|
|
|
|
|
if (await plgMgr.trigger("directMention", m, lowerCaseContent))
|
|
if (await plgMgr.trigger("directMention", m, lowerCaseContent))
|