Merge pull request #45 from venom7aries/patch-3

remoteinvite.js
This commit is contained in:
Night Kaly 2022-01-31 15:22:59 +00:00 committed by GitHub
commit b77ed88126
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
remoteinvite.js Normal file
View file

@ -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();