Manages API methods for GuildInvites and stores their cache.
Extends
DataManager<string, Invite, InviteResolvable>The cache of items for this manager.
Inherited from DataManagerThe client that instantiated this Manager
Inherited from BaseManagerThe data structure belonging to this manager.
Inherited from DataManagerCreate an invite to the guild from the provided channel.
Example
Name | Type | Optional | Description |
---|---|---|---|
channel | GuildInvitableChannelResolvable | No | The options for creating the invite from a channel. |
options | InviteCreateOptions | Yes | The options for creating the invite from a channel. |
Deletes an invite.
Name | Type | Optional | Description |
---|---|---|---|
invite | InviteResolvable | No | The invite to delete |
reason | string | Yes | Reason for deleting the invite |
Fetches invite(s) from Discord.
Example
Example
Example
Example
Example
Example
Name | Type | Optional | Description |
---|---|---|---|
options | InviteResolvable | FetchInviteOptions | No | Options for fetching guild invite(s) |
Resolves an InviteResolvable to an Invite object.
Name | Type | Optional | Description |
---|---|---|---|
invite | InviteResolvable | No | The invite resolvable to resolve |
Resolves an InviteResolvable to an invite code string.
Name | Type | Optional | Description |
---|---|---|---|
invite | InviteResolvable | No | The invite resolvable to resolve |