Skip to content

Commit

Permalink
docs: correct documentation for BaseInteraction#inCachedGuild (#10456)
Browse files Browse the repository at this point in the history
* Update BaseInteraction.js

inCachedGuild typeguard had incorrect wording

* docs: wording

---------

Co-authored-by: Almeida <[email protected]>
  • Loading branch information
Wolvinny and almeidx authored Aug 22, 2024
1 parent ec9080b commit bddf018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/BaseInteraction.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class BaseInteraction extends Base {
}

/**
* Indicates whether or not this interaction is both cached and received from a guild.
* Indicates whether this interaction is received from a cached guild.
* @returns {boolean}
*/
inCachedGuild() {
Expand Down

0 comments on commit bddf018

Please sign in to comment.