From 7073853834fcfded57da7442072c8a763beed78b Mon Sep 17 00:00:00 2001 From: 1computer1 Date: Fri, 15 Mar 2019 02:31:08 -0400 Subject: [PATCH] Remove language from output --- src/listeners/messageInvalid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/listeners/messageInvalid.js b/src/listeners/messageInvalid.js index cfa5b36..6b495fc 100644 --- a/src/listeners/messageInvalid.js +++ b/src/listeners/messageInvalid.js @@ -45,7 +45,7 @@ class MessageInvalidListener extends Listener { } const invalid = parse.invalid.length ? `Invalid options: ${parse.invalid.join(', ')}\n` : ''; - const output = `${invalid}\`\`\`${parse.language.aliases[0]}\n${result}\`\`\``; + const output = `${invalid}\`\`\`\n${result}\n\`\`\``; if (output.length >= 2000) { const key = await fetch('https://hastebin.com/documents', { method: 'POST', body: result }) .then(res => res.json())