API

Constructor

new API(options)

.fetchInvite(code)

Get a detailed and accurate discord invite code.

Returns: Promise

Examples:

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

Last updated