nyx/remoteinvite.js
Tac Shadow 0c4fdc08ce
remoteinvite.js
Get invite link of a channel in a server using eval or sum.
2022-01-31 19:19:19 +08:00

11 lines
271 B
JavaScript

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