commit 0c4fdc08cebb7dbda29a7b59c71073885e449177 parent 4f3feb9504786a14e73e2b5af684de202166e200 Author: Tac Shadow <[email protected]> Date: Mon, 31 Jan 2022 19:19:19 +0800 remoteinvite.js Get invite link of a channel in a server using eval or sum. Diffstat:
A | remoteinvite.js | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/remoteinvite.js 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();