generated from sapphiredev/sapphire-template
-
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the bug
I recently upgraded to 7.3.1 and this causing to crash on missing perms
node:internal/event_target:1090
process.nextTick(() => { throw err; });
^
DiscordAPIError[50001]: Missing Access
at handleErrors (/app/node_modules/.pnpm/@discordjs+rest@2.4.0/node_modules/@discordjs/rest/dist/index.js:727:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async SequentialHandler.runRequest (/app/node_modules/.pnpm/@discordjs+rest@2.4.0/node_modules/@discordjs/rest/dist/index.js:1128:23)
at async SequentialHandler.queueRequest (/app/node_modules/.pnpm/@discordjs+rest@2.4.0/node_modules/@discordjs/rest/dist/index.js:959:14)
at async _REST.request (/app/node_modules/.pnpm/@discordjs+rest@2.4.0/node_modules/@discordjs/rest/dist/index.js:1272:22)
at async GuildMessageManager.edit (/app/node_modules/.pnpm/discord.js@14.16.3/node_modules/discord.js/src/managers/MessageManager.js:188:15)
at async safelyReplyToInteraction (file:///app/node_modules/.pnpm/@sapphire+discord.js-utilities@7.3.1/node_modules/@sapphire/discord.js-utilities/dist/esm/index.mjs:699:5) {
requestBody: {
files: [],
json: {
content: undefined,
tts: false,
nonce: undefined,
enforce_nonce: false,
embeds: undefined,
components: [],
username: undefined,
avatar_url: undefined,
allowed_mentions: undefined,
flags: 0,
message_reference: undefined,
attachments: undefined,
sticker_ids: undefined,
thread_name: undefined,
applied_tags: undefined,
poll: undefined
}
},
rawError: { message: 'Missing Access', code: 50001 },
code: 50001,
status: 403,
method: 'PATCH',
url: 'http://nirn.production.svc.cluster.local:6070/api/v10/channels/635490854089261077/messages/1312765356749750336'
}Steps To Reproduce
Use 7.3.1 and run PaginationMessage on missing perms channel.
Expected behavior
Promise should be handled correctly
Screenshots
No response
Additional context
No response
System Info
<i cant run inside k3s container>Metadata
Metadata
Assignees
Labels
No labels