From 6a1ed4c2c5102ad77d571dc3e8e4e8103c142e49 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 28 Mar 2021 22:22:33 -0400 Subject: [PATCH] Fix lint --- commands/analyze/nsfw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/analyze/nsfw.js b/commands/analyze/nsfw.js index 59d79969..56dcae90 100644 --- a/commands/analyze/nsfw.js +++ b/commands/analyze/nsfw.js @@ -38,7 +38,7 @@ module.exports = class NsfwCommand extends Command { const predictions = await isImageNSFW(this.client.nsfwModel, body, false); const formatted = predictions.map(result => { const percentage = Math.round(result.probability * 100); - return `${percentage}% ${displayNames[result.className]}` + return `${percentage}% ${displayNames[result.className]}`; }); return msg.reply(stripIndents` **This image gives the following results:**