diff --git a/src/structures/Channel.js b/src/structures/Channel.js index 9d1825048ffe..6dbcaa93214a 100644 --- a/src/structures/Channel.js +++ b/src/structures/Channel.js @@ -102,11 +102,11 @@ class Channel extends Base { /** * Fetches this channel. - * @param {boolean} [force=false] Whether to skip the cache check and request the API + * @param {boolean} [force=true] Whether to skip the cache check and request the API * @returns {Promise} */ - fetch(force = false) { - return this.client.channels.fetch(this.id, true, force); + fetch(force = true) { + return this.client.channels.fetch(this.id, { force }); } /** diff --git a/src/structures/DMChannel.js b/src/structures/DMChannel.js index 4d549cddd94e..d4d43c0ef932 100644 --- a/src/structures/DMChannel.js +++ b/src/structures/DMChannel.js @@ -63,10 +63,10 @@ class DMChannel extends Channel { /** * Fetch this DMChannel. - * @param {boolean} [force=false] Whether to skip the cache check and request the API + * @param {boolean} [force=true] Whether to skip the cache check and request the API * @returns {Promise} */ - fetch(force = false) { + fetch(force = true) { return this.recipient.createDM(force); } diff --git a/src/structures/GuildBan.js b/src/structures/GuildBan.js index b40e7c3ac9b9..0f06f75fa0ae 100644 --- a/src/structures/GuildBan.js +++ b/src/structures/GuildBan.js @@ -52,10 +52,10 @@ class GuildBan extends Base { /** * Fetches this GuildBan. - * @param {boolean} [force=false] Whether to skip the cache check and request the API + * @param {boolean} [force=true] Whether to skip the cache check and request the API * @returns {Promise} */ - fetch(force = false) { + fetch(force = true) { return this.guild.bans.fetch({ user: this.user, cache: true, force }); } } diff --git a/src/structures/GuildMember.js b/src/structures/GuildMember.js index 8d10126aaa77..606b9be8aedb 100644 --- a/src/structures/GuildMember.js +++ b/src/structures/GuildMember.js @@ -301,10 +301,10 @@ class GuildMember extends Base { /** * Fetches this GuildMember. - * @param {boolean} [force=false] Whether to skip the cache check and request the API + * @param {boolean} [force=true] Whether to skip the cache check and request the API * @returns {Promise} */ - fetch(force = false) { + fetch(force = true) { return this.guild.members.fetch({ user: this.id, cache: true, force }); } diff --git a/src/structures/Message.js b/src/structures/Message.js index 375fd8825768..dfa801cf03a4 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -721,11 +721,11 @@ class Message extends Base { /** * Fetch this message. - * @param {boolean} [force=false] Whether to skip the cache check and request the API + * @param {boolean} [force=true] Whether to skip the cache check and request the API * @returns {Promise} */ - fetch(force = false) { - return this.channel.messages.fetch(this.id, true, force); + fetch(force = true) { + return this.channel.messages.fetch(this.id, { force }); } /** diff --git a/src/structures/User.js b/src/structures/User.js index 9fc048fa21bd..75f104b74641 100644 --- a/src/structures/User.js +++ b/src/structures/User.js @@ -258,11 +258,11 @@ class User extends Base { /** * Fetches this user. - * @param {boolean} [force=false] Whether to skip the cache check and request the API + * @param {boolean} [force=true] Whether to skip the cache check and request the API * @returns {Promise} */ - fetch(force = false) { - return this.client.users.fetch(this.id, true, force); + fetch(force = true) { + return this.client.users.fetch(this.id, { force }); } /**