Bot crashes when reaction gets blocked #7

Closed
opened 2023-06-21 00:15:16 +02:00 by Wroclaw · 1 comment
Owner
C:\Users\Wroclaw\Desktop\gptcord\node_modules\@discordjs\rest\dist\index.js:933
        throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
              ^

DiscordAPIError[90001]: Reaction blocked
    at SequentialHandler.runRequest (C:\Users\Wroclaw\Desktop\gptcord\node_modules\@discordjs\rest\dist\index.js:933:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async SequentialHandler.queueRequest (C:\Users\Wroclaw\Desktop\gptcord\node_modules\@discordjs\rest\dist\index.js:712:14)
    at async REST.request (C:\Users\Wroclaw\Desktop\gptcord\node_modules\@discordjs\rest\dist\index.js:1321:22)
    at async MessageManager.react (C:\Users\Wroclaw\Desktop\gptcord\node_modules\discord.js\src\managers\MessageManager.js:243:5)
    at async Message.react (C:\Users\Wroclaw\Desktop\gptcord\node_modules\discord.js\src\structures\Message.js:786:5) {
  rawError: { message: 'Reaction blocked', code: 90001 },
  code: 90001,
  status: 403,
  method: 'PUT',
  url: 'https://discord.com/api/v10/channels/649318315768021005/messages/1120823025504362526/reactions/%E2%9A%A0/@me',
  requestBody: { files: undefined, json: undefined }
}
``` C:\Users\Wroclaw\Desktop\gptcord\node_modules\@discordjs\rest\dist\index.js:933 throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData); ^ DiscordAPIError[90001]: Reaction blocked at SequentialHandler.runRequest (C:\Users\Wroclaw\Desktop\gptcord\node_modules\@discordjs\rest\dist\index.js:933:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async SequentialHandler.queueRequest (C:\Users\Wroclaw\Desktop\gptcord\node_modules\@discordjs\rest\dist\index.js:712:14) at async REST.request (C:\Users\Wroclaw\Desktop\gptcord\node_modules\@discordjs\rest\dist\index.js:1321:22) at async MessageManager.react (C:\Users\Wroclaw\Desktop\gptcord\node_modules\discord.js\src\managers\MessageManager.js:243:5) at async Message.react (C:\Users\Wroclaw\Desktop\gptcord\node_modules\discord.js\src\structures\Message.js:786:5) { rawError: { message: 'Reaction blocked', code: 90001 }, code: 90001, status: 403, method: 'PUT', url: 'https://discord.com/api/v10/channels/649318315768021005/messages/1120823025504362526/reactions/%E2%9A%A0/@me', requestBody: { files: undefined, json: undefined } } ```
Wroclaw added the
bug
label 2023-06-21 00:15:16 +02:00
Author
Owner

The issue still exists, I speculate the reaction is not handled in the moderation module

The issue still exists, I speculate the reaction is not handled in the moderation module
Wroclaw reopened this issue 2023-07-29 22:43:49 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Wroclaw/GPTcord#7
No description provided.