commit b77ed88126053e829a254bea3979a32760a7cc9b parent 4f3feb9504786a14e73e2b5af684de202166e200 Author: Night Kaly <[email protected]> Date: Mon, 31 Jan 2022 15:22:59 +0000 Merge pull request #45 from venom7aries/patch-3 remoteinvite.js 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();