v5.0.0
$inviteCode
This function returns the code of the newly created/deleted invite. Only works in bot.onInviteCreate() and bot.onInviteDelete() and $fetchInvites
1
bot.inviteCreateCommand({
2
channel: '772414449839636490',
3
code: `Invite Info:
4
Code: $inviteCode
5
`, //returns eR5v8KMP2s
6
})
7
bot.onInviteCreate()
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub