latest push

This commit is contained in:
John Facey
2022-07-27 17:39:58 -05:00
parent 9cac9a1735
commit 37f18aa71d
4 changed files with 20 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ client.on('interactionCreate', async interaction => {
}
});
client.on('message', message => {
client.on('messageCreate', message => {
if (!message.content.startsWith(prefix) || message.author.bot) return;
const args = message.content.slice(prefix.length).trim().split(/ +/);