discordjs-cmd-handler
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -26,3 +26,3 @@ const { Client, Intents } = require("discord.js"); | ||
client.on("message", (msg, blockBots, dm) => { | ||
client.on("messageCreate", (msg, blockBots, dm) => { | ||
if (msg.author.bot && blockBots) return; | ||
@@ -29,0 +29,0 @@ if (msg.channel.type == "dm" && dm) return dm(msg); |
{ | ||
"name": "discordjs-cmd-handler", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "A simple Discord.js command handler.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
2146