fix: Use string instead of Snowflake for invites (#6202)

This commit is contained in:
Jiralite
2021-07-28 20:04:51 +01:00
committed by GitHub
parent 5e433b5995
commit f060a3fcd7
2 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ class GuildInviteManager extends CachedManager {
/**
* The cache of this Manager
* @type {Collection<Snowflake, Invite>}
* @type {Collection<string, Invite>}
* @name GuildInviteManager#cache
*/
@@ -74,7 +74,7 @@ class GuildInviteManager extends CachedManager {
/**
* Fetches invite(s) from Discord.
* @param {InviteResolvable|FetchInviteOptions|FetchInvitesOptions} [options] Options for fetching guild invite(s)
* @returns {Promise<Invite|Collection<Snowflake, Invite>>}
* @returns {Promise<Invite|Collection<string, Invite>>}
* @example
* // Fetch all invites from a guild
* guild.invites.fetch()