Skip to content

GuildAutoModManager

GuildAutoModManager ⇐ AutoModManager

Represents a manager for guild-specific auto moderation settings.

Kind: global class
Extends: AutoModManager

new GuildAutoModManager(guildId, client)

Constructs a new instance of the class.

ParamTypeDescription
guildIdstringThe ID of the guild.
clientClientThe client object.

guildAutoModManager.cache ⇒ Array

Retrieves the cache for the current guild.

Kind: instance property of GuildAutoModManager
Returns: Array - An array of objects from the cache that belong to the current guild.