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.
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.
Name | Type | Optional | Description |
---|---|---|---|
options | InviteResolvable | FetchInviteOptions | No | Options for fetching guild invite(s) |
Resolves a data entry to a data Object.
Returns
An instance from this ManagerName | Type | Optional | Description |
---|---|---|---|
idOrInstance | Holds | No | The id or instance of something in this Manager |
Resolves a data entry to an instance id.
Returns
Name | Type | Optional | Description |
---|---|---|---|
idOrInstance | K | Holds | No | The id or instance of something in this Manager |