Browse Source

Rename warn to warning

ghorsington 4 years ago
parent
commit
d99867da37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bot/src/main.ts

+ 1 - 1
bot/src/main.ts

@@ -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;
     }