fix wembed
This commit is contained in:
parent
c08085cecc
commit
afa03f25aa
@ -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",
|
||||||
|
@ -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)}`);
|
||||||
|
Loading…
Reference in New Issue
Block a user