remoteinvite.js

Get invite link of a channel in a server using eval or sum.
This commit is contained in:
Tac Shadow 2022-01-31 19:19:19 +08:00 committed by GitHub
parent 4f3feb9504
commit 0c4fdc08ce
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();