|
@@ -25,7 +25,7 @@ client.bot.on("message", async m => {
|
|
|
return;
|
|
|
|
|
|
if (m.channel.type != "text") {
|
|
|
- logger.warn("User %s (%s#%s) tried to execute command in DMs. Message: %s.", m.author.id, m.author.username, m.author.discriminator, m.content);
|
|
|
+ logger.warning("User %s (%s#%s) tried to execute command in DMs. Message: %s.", m.author.id, m.author.username, m.author.discriminator, m.content);
|
|
|
await m.reply("DM commands are disabled, sorry!");
|
|
|
return;
|
|
|
}
|