mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Make sure we always fetch full/fresh target message when applying reaction roles
This commit is contained in:
parent
41f8e190dd
commit
fe3de150a3
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ export async function applyReactionRoleReactionsToMessage(
|
|||
|
||||
let targetMessage;
|
||||
try {
|
||||
targetMessage = channel.messages.fetch(messageId);
|
||||
targetMessage = channel.messages.fetch(messageId, { force: true });
|
||||
} catch (e) {
|
||||
if (isDiscordAPIError(e)) {
|
||||
if (e.code === 10008) {
|
||||
|
|
Loading…
Add table
Reference in a new issue