From 06452e5b5c4ec0df7bbbc3750acb2e9c2f3dbc0a Mon Sep 17 00:00:00 2001 From: ZyLacx Date: Sun, 4 Jul 2021 17:33:14 +0200 Subject: [PATCH] Update node.js --- node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.js b/node.js index 7a4c51d..c055bc3 100644 --- a/node.js +++ b/node.js @@ -47,7 +47,7 @@ client.on('message', message => { if(message.content.includes('webm') || message.content.includes('mov') || message.content.includes('mp4')) { -message.content.split('https://media.discordapp.net' ); +let linkArr = message.content.split('https://media.discordapp.net' ); message.channel.send('https://cdn.discordapp.com' +linkArr[1]) } }