Switch from hastebin.com to hasteb.in
This commit is contained in:
parent
5a50b41426
commit
d6907e1974
1 changed files with 2 additions and 2 deletions
|
@ -50,11 +50,11 @@ class MessageInvalidListener extends Listener {
|
|||
|
||||
const output = `\`\`\`\n${response}\n\`\`\``;
|
||||
if (output.length >= 2000) {
|
||||
const key = await fetch('https://hastebin.com/documents', { method: 'POST', body: response })
|
||||
const key = await fetch('https://hasteb.in/documents', { method: 'POST', body: response })
|
||||
.then(res => res.json())
|
||||
.then(json => json.key);
|
||||
|
||||
return message.util.send(`Output was too long: <https://hastebin.com/${key}>`);
|
||||
return message.util.send(`Output was too long: <https://hasteb.in/${key}>`);
|
||||
}
|
||||
|
||||
return message.util.send(output);
|
||||
|
|
Loading…
Reference in a new issue