Skip to content

GuildAutoModActions

GuildAutoModActions ⇐ Base

Represents an action taken by the guild automod system.

Kind: global class
Extends: Base

new GuildAutoModActions(data, client)

ParamTypeDescription
dataObjectThe data for the action.
clientClientThe instantiating client

guildAutoModActions.type : string

The type of action taken by the automod system.

Kind: instance property of GuildAutoModActions

guildAutoModActions.metadata : Object

The metadata for the action, if any.

Kind: instance property of GuildAutoModActions
Properties

NameTypeDescription
channelIdstringThe ID of the channel the action was taken in.
durationSecondsnumberThe duration of the action, in seconds.