mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
docs: Replace FetchOwnerOptions type definition (#6814)
This commit is contained in:
@@ -486,17 +486,10 @@ class Guild extends AnonymousGuild {
|
||||
return this.discoverySplash && this.client.rest.cdn.DiscoverySplash(this.id, this.discoverySplash, format, size);
|
||||
}
|
||||
|
||||
/**
|
||||
* Options used to fetch the owner of a guild or a thread.
|
||||
* @typedef {Object} FetchOwnerOptions
|
||||
* @property {boolean} [cache=true] Whether or not to cache the fetched member
|
||||
* @property {boolean} [force=false] Whether to skip the cache check and request the API
|
||||
*/
|
||||
|
||||
/**
|
||||
* Fetches the owner of the guild.
|
||||
* If the member object isn't needed, use {@link Guild#ownerId} instead.
|
||||
* @param {FetchOwnerOptions} [options] The options for fetching the member
|
||||
* @param {BaseFetchOptions} [options] The options for fetching the member
|
||||
* @returns {Promise<GuildMember>}
|
||||
*/
|
||||
fetchOwner(options) {
|
||||
|
||||
Reference in New Issue
Block a user