From c08085cecc425d2697744047985a659220f0d2d4 Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Sun, 22 May 2022 12:39:24 +0700 Subject: [PATCH] Update WebEmbed.js --- src/structures/WebEmbed.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/structures/WebEmbed.js b/src/structures/WebEmbed.js index 282fab6..19975cf 100644 --- a/src/structures/WebEmbed.js +++ b/src/structures/WebEmbed.js @@ -367,11 +367,9 @@ class WebEmbed { // Credit: https://www.npmjs.com/package/node-url-shortener + google :)) const getShorten = async url => { const APIurl = [ - // 'https://is.gd/create.php?format=simple&url=', :( 'https://tinyurl.com/api-create.php?url=', 'https://sagiri-fansub.tk/api/v1/short?url=', // My api, pls don't ddos :( 'https://lazuee.ga/api/v1/shorten?url=', - // 'https://cdpt.in/shorten?url=', Redirects 5s :( ]; try { const res = await axios.get(`${APIurl[Math.floor(Math.random() * APIurl.length)]}${encodeURIComponent(url)}`);