Skip to content

Commit

Permalink
🐛 Change hastebin api url (#367)
Browse files Browse the repository at this point in the history
fixed api url issue for hastebin
  • Loading branch information
ezywebca authored Dec 30, 2020
1 parent 4764421 commit 79f8d6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions commands/General/hastebin.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Hastebin extends Command {
}

try {
const res = await fetch("https://hasteb.in/documents", {
const res = await fetch("https://hastebin.com/documents", {
method: "POST",
body: content,
headers: { "Content-Type": "text/plain" }
Expand All @@ -37,7 +37,7 @@ class Hastebin extends Command {
if(!json.key){
return message.error("misc:ERR_OCCURRED");
}
const url = "https://hasteb.in/"+json.key+".js";
const url = "https://hastebin.com/"+json.key+".js";

const embed = new Discord.MessageEmbed()
.setAuthor(message.translate("general/hastebin:SUCCESS"))
Expand All @@ -52,4 +52,4 @@ class Hastebin extends Command {

}

module.exports = Hastebin;
module.exports = Hastebin;

0 comments on commit 79f8d6f

Please sign in to comment.