Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 350 Bytes

usdinvitemaxuses.md

File metadata and controls

14 lines (11 loc) · 350 Bytes

$inviteMaxUses

This function returns the max uses of the newly created/deleted invite. Only works in bot.onInviteCreate() and bot.onInviteDelete() and $fetchInvites

bot.inviteCreateCommand({
    channel: '772414449839636490', 
    code: `Invite Info:
  Max Uses: $inviteMaxUses
    `, //returns 25 
})
bot.onInviteCreate()