.
This commit is contained in:
parent
b5543eec11
commit
f375acf9c8
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ async function getImage(msg, str) {
|
||||||
async function hastebin(body) {
|
async function hastebin(body) {
|
||||||
const res = await fetch(`https://nekobin.com/api/documents`, {
|
const res = await fetch(`https://nekobin.com/api/documents`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
JSON.stringify({content:body}),
|
body: JSON.stringify({content:body}),
|
||||||
}).then((r) => r.json());
|
}).then((r) => r.json());
|
||||||
return "https://nekobin.com"+res.result.key;
|
return "https://nekobin.com"+res.result.key;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue