remoteinvite.js
Get invite link of a channel in a server using eval or sum.
This commit is contained in:
parent
4f3feb9504
commit
0c4fdc08ce
1 changed files with 11 additions and 0 deletions
11
remoteinvite.js
Normal file
11
remoteinvite.js
Normal 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();
|
Loading…
Reference in a new issue