ToolKit Discord
  • ⭐Welcome
  • 📍Clases
    • API
    • Wallhaven
  • 🔗Types
    • FetchInviteOptions
Powered by GitBook
On this page
  • Constructor
  • .fetchInvite(code)
  1. Clases

API

PreviousWelcomeNextWallhaven

Last updated 1 year ago

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:

Examples:

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

📍
Promise
FetchInviteOptions
fetchInvite