Create a new Invite Method Handler
Usually SnowTransfer creates a method handler for you, this is here for completion
You can access the methods listed via client.invite.method
, where client
is an initialized SnowTransfer instance
request handler that calls the rest api
Delete an invite
(https://discord.com/developers/docs/resources/invite#invite-object)
Permissions needed | Condition |
---|---|
MANAGE_CHANNELS | for invite that belongs to a specific channel |
MANAGE_GUILD | delete any invite guild wide |
Get the invite data on an invite id
Id of the invite
Options for when properties are set to true you get an invite object with additional approximate_presence_count
and approximate_member_count
fields and when the invite expires
Generated using TypeDoc
Methods for interacting with invites