events: add BeforeDelete to MessageDelete
This commit is contained in:
parent
d4610f32c1
commit
d41f0ec7e0
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ type MessageUpdate struct {
|
||||||
// MessageDelete is the data for a MessageDelete event.
|
// MessageDelete is the data for a MessageDelete event.
|
||||||
type MessageDelete struct {
|
type MessageDelete struct {
|
||||||
*Message
|
*Message
|
||||||
|
BeforeDelete *Message `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// MessageReactionAdd is the data for a MessageReactionAdd event.
|
// MessageReactionAdd is the data for a MessageReactionAdd event.
|
||||||
|
|
Loading…
Reference in a new issue