Skip to content

Commit d275480

Browse files
authored
docs(AutoModerationRuleManager): Describe cache (#8848)
docs(AutoModerationRuleManager): describe cache
1 parent 7ae0c52 commit d275480

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/discord.js/src/managers/AutoModerationRuleManager.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ class AutoModerationRuleManager extends CachedManager {
2020
this.guild = guild;
2121
}
2222

23+
/**
24+
* The cache of this manager
25+
* @type {Collection<Snowflake, AutoModerationRule>}
26+
* @name AutoModerationRuleManager#cache
27+
*/
28+
2329
_add(data, cache) {
2430
return super._add(data, cache, { extras: [this.guild] });
2531
}

0 commit comments

Comments
 (0)