feat: make Instance#fetch force true by default, and fix force parameter (#6116)

Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
Advaith
2021-07-17 04:25:23 -07:00
committed by GitHub
parent ef5ba05996
commit 366f3c910a
6 changed files with 15 additions and 15 deletions

View File

@@ -62,10 +62,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<DMChannel>}
*/
fetch(force = false) {
fetch(force = true) {
return this.recipient.createDM(force);
}