From de3d5be50c0b2b96d0252baa894e49b8de629e7d Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 21 Feb 2018 22:21:54 +0000 Subject: [PATCH] Fix --- commands/other/toxicity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/other/toxicity.js b/commands/other/toxicity.js index 3b23ee2e..f933a516 100644 --- a/commands/other/toxicity.js +++ b/commands/other/toxicity.js @@ -27,7 +27,7 @@ module.exports = class ToxicityCommand extends Command { .query({ key: GOOGLE_KEY }) .send({ comment: { text }, - langauges: ['en'], + languages: ['en'], requestedAttributes: { TOXICITY: {} } }); const toxicity = Math.round(body.attributeScores.TOXICITY.summaryScore.value * 100);