v5.0.0
$inviteMaxUses
This function returns the max uses 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
Max Uses: $inviteMaxUses
5
`, //returns 25
6
})
7
bot.onInviteCreate()
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub