commit 8e53c8fe307886b1d8e6436574cf1ce7ecb69047 parent 0df1fb14cac52d4a63c49961338aa68886c99730 Author: Night Kaly <[email protected]> Date: Mon, 31 Jan 2022 15:24:13 +0000 Merge pull request #47 from night0721/tac-dev Tac dev 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();