From 0c4fdc08cebb7dbda29a7b59c71073885e449177 Mon Sep 17 00:00:00 2001 From: Tac Shadow <67679169+venom7aries@users.noreply.github.com> Date: Mon, 31 Jan 2022 19:19:19 +0800 Subject: [PATCH] remoteinvite.js Get invite link of a channel in a server using eval or sum. --- remoteinvite.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 remoteinvite.js diff --git a/remoteinvite.js b/remoteinvite.js new file mode 100644 index 0000000..8e1015b --- /dev/null +++ b/remoteinvite.js @@ -0,0 +1,11 @@ +//use eval if you wanna. +//this gives you the invite link in a server of a channel. +//code by Tac Shadow#5920 + +async function asyncCall() { + const result = await client.channels.cache.get("CHANNEL_ID").createInvite(); + +message.channel.send(`${result}`); +} + +asyncCall();