API

Constructor

new API(options)

Properties
Methods
Events

.fetchInvite(code)

Get a detailed and accurate discord invite code.

Return
Type
Description

data

return data invite

Returns: Promise

Examples:

// Log: { guild, inviter, channel }
let data = api.fectchInvite('Dx69DGnsHg')
console.log(data.all)

Last updated