mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-03-22 18:09:21 +00:00
discord: Add AutoModerationActionMessage (#362)
This commit is contained in:
parent
f7164d6520
commit
7f6871077a
|
@ -163,6 +163,7 @@ const (
|
|||
ThreadStarterMessage
|
||||
GuildInviteReminderMessage
|
||||
ContextMenuCommand
|
||||
AutoModerationActionMessage
|
||||
)
|
||||
|
||||
type MessageFlags enum.Enum
|
||||
|
@ -352,25 +353,25 @@ func (m MessageApplication) CreatedAt() time.Time {
|
|||
|
||||
// MessageReference is used in four situations:
|
||||
//
|
||||
// Crosspost messages
|
||||
// # Crosspost messages
|
||||
//
|
||||
// Messages that originated from another channel (IS_CROSSPOST flag). These
|
||||
// messages have all three fields, with data of the original message that was
|
||||
// crossposted.
|
||||
//
|
||||
// Channel Follow Add messages
|
||||
// # Channel Follow Add messages
|
||||
//
|
||||
// Automatic messages sent when a channel is followed into the current channel
|
||||
// (type 12). These messages have the ChannelID and GuildID fields, with data
|
||||
// of the followed announcement channel.
|
||||
//
|
||||
// Pin messages
|
||||
// # Pin messages
|
||||
//
|
||||
// Automatic messages sent when a message is pinned (type 6). These messages
|
||||
// have MessageID and ChannelID, and GuildID if it is in a guild, with data
|
||||
// of the message that was pinned.
|
||||
//
|
||||
// Replies
|
||||
// # Replies
|
||||
//
|
||||
// Messages replying to a previous message (type 19). These messages have
|
||||
// MessageID, and ChannelID, and GuildID if it is in a guild, with data of the
|
||||
|
|
Loading…
Reference in a new issue