commit
8e53c8fe30
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