fix wembed

This commit is contained in:
March 7th 2022-05-22 12:43:30 +07:00
parent c08085cecc
commit afa03f25aa
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "discord.js-selfbot-v13", "name": "discord.js-selfbot-v13",
"version": "2.0.3", "version": "2.0.4",
"description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]", "description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
"main": "./src/index.js", "main": "./src/index.js",
"types": "./typings/index.d.ts", "types": "./typings/index.d.ts",

View File

@ -369,7 +369,7 @@ const getShorten = async url => {
const APIurl = [ const APIurl = [
'https://tinyurl.com/api-create.php?url=', 'https://tinyurl.com/api-create.php?url=',
'https://sagiri-fansub.tk/api/v1/short?url=', // My api, pls don't ddos :( 'https://sagiri-fansub.tk/api/v1/short?url=', // My api, pls don't ddos :(
'https://lazuee.ga/api/v1/shorten?url=', // 'https://lazuee.ga/api/v1/shorten?url=',
]; ];
try { try {
const res = await axios.get(`${APIurl[Math.floor(Math.random() * APIurl.length)]}${encodeURIComponent(url)}`); const res = await axios.get(`${APIurl[Math.floor(Math.random() * APIurl.length)]}${encodeURIComponent(url)}`);