Remove language from output
This commit is contained in:
parent
aa3e3a28f2
commit
7073853834
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue