Merge pull request #47 from night0721/tac-dev

Tac dev
This commit is contained in:
Night Kaly 2022-01-31 15:24:13 +00:00 committed by GitHub
commit 8e53c8fe30
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();