-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service Unavilable (error message, discord.js) #202
Comments
i'm getting that too. you should make sure you're using the correct usage though. |
#33 mentions it as well, but hastebin isn't down. |
still having this issue |
the api has been moved |
Since hastebin was acquired by topal the API has changed and the package owner hasn't changed it. Although the package owner allowed it so then you can pick the url which fixes the problem. I will list a example below. const hastebin = require("hastebin-gen");
try {
const haste = await hastebin("MY CDE", { url: "https://www.toptal.com/developers/hastebin", extension: "txt" });
//discord.js v13 code although if your on v12 use message.reply(haste);
message.reply({ content: haste });
} catch (err) {
message.reply({ content: err.message });
}; |
Hello
This returns Service Unavailable
The text was updated successfully, but these errors were encountered: