Skip to content

Commit

Permalink
fix(Action): use last_message_id if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Jun 15, 2023
1 parent 52e9a9f commit 336ae5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/discord.js/src/client/actions/Action.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class GenericAction {
id,
guild_id: data.guild_id,
recipients: data.recipients ?? [data.author ?? data.user ?? { id: data.user_id }],
last_message_id: data.last_message_id,
},
this.client.channels,
id,
Expand Down

0 comments on commit 336ae5b

Please sign in to comment.