GuildAutoModActions
GuildAutoModActions ⇐ Base
Represents an action taken by the guild automod system.
Kind: global class
Extends: Base
- GuildAutoModActions ⇐
Base
- new GuildAutoModActions(data, client)
- .type :
string
- .metadata :
Object
new GuildAutoModActions(data, client)
Param | Type | Description |
---|---|---|
data | Object | The data for the action. |
client | Client | The 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
Name | Type | Description |
---|---|---|
channelId | string | The ID of the channel the action was taken in. |
durationSeconds | number | The duration of the action, in seconds. |