Roc
Roc
DIAdiscord.js - Imagine an app
Created by Roc on 11/26/2023 in #djs-questions
Invite Permission Issue
That worked! I hate how simple that was so fix. I've been spending so much time trying to fix it Thank you so much 😭
5 replies
DIAdiscord.js - Imagine an app
Created by Roc on 11/26/2023 in #djs-questions
Invite Permission Issue
Node:
v20.4.0
v20.4.0
Npm:
9.8.0
9.8.0
5 replies
DIAdiscord.js - Imagine an app
Created by Roc on 11/26/2023 in #djs-questions
Invite Permission Issue
Stack trace:
DiscordAPIError[50013]: Missing Permissions
at handleErrors (C:\Users\Lostl\_CrystallineChronicles\_Sparked\Bot\node_modules\@discordjs\rest\dist\index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SequentialHandler.runRequest (C:\Users\Lostl\_CrystallineChronicles\_Sparked\Bot\node_modules\@discordjs\rest\dist\index.js:1120:23)
at async SequentialHandler.queueRequest (C:\Users\Lostl\_CrystallineChronicles\_Sparked\Bot\node_modules\@discordjs\rest\dist\index.js:953:14)
at async _REST.request (C:\Users\Lostl\_CrystallineChronicles\_Sparked\Bot\node_modules\@discordjs\rest\dist\index.js:1266:22)
at async GuildInviteManager._fetchMany (C:\Users\Lostl\_CrystallineChronicles\_Sparked\Bot\node_modules\discord.js\src\managers\GuildInviteManager.js:160:18)
at async Object.execute (C:\Users\Lostl\_CrystallineChronicles\_Sparked\Bot\events\interaction.js:128:37) {
requestBody: { files: undefined, json: undefined },
rawError: { message: 'Missing Permissions', code: 50013 },
code: 50013,
status: 403,
method: 'GET',
url: 'https://discord.com/api/v10/guilds/1150487558116102197/invites'
}
DiscordAPIError[50013]: Missing Permissions
at handleErrors (C:\Users\Lostl\_CrystallineChronicles\_Sparked\Bot\node_modules\@discordjs\rest\dist\index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SequentialHandler.runRequest (C:\Users\Lostl\_CrystallineChronicles\_Sparked\Bot\node_modules\@discordjs\rest\dist\index.js:1120:23)
at async SequentialHandler.queueRequest (C:\Users\Lostl\_CrystallineChronicles\_Sparked\Bot\node_modules\@discordjs\rest\dist\index.js:953:14)
at async _REST.request (C:\Users\Lostl\_CrystallineChronicles\_Sparked\Bot\node_modules\@discordjs\rest\dist\index.js:1266:22)
at async GuildInviteManager._fetchMany (C:\Users\Lostl\_CrystallineChronicles\_Sparked\Bot\node_modules\discord.js\src\managers\GuildInviteManager.js:160:18)
at async Object.execute (C:\Users\Lostl\_CrystallineChronicles\_Sparked\Bot\events\interaction.js:128:37) {
requestBody: { files: undefined, json: undefined },
rawError: { message: 'Missing Permissions', code: 50013 },
code: 50013,
status: 403,
method: 'GET',
url: 'https://discord.com/api/v10/guilds/1150487558116102197/invites'
}
5 replies