We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b38a53a commit ff85bb8Copy full SHA for ff85bb8
events/client/messageCreate.js
@@ -5,7 +5,7 @@ module.exports = {
5
* @param {Message} message
6
* @param {Client} client
7
*/
8
- execute(message, client) {
+ async execute(message, client) {
9
if (message.author.bot || !message.guild || !message.content.toLowerCase().startsWith(client.config.prefix)) return;
10
11
const [cmd, ...args] = message.content.slice(client.config.botPrefix.length).trim().split(" ");
@@ -22,4 +22,4 @@ module.exports = {
22
23
await command.run(client, message, args);
24
}
25
-}
+}
0 commit comments