But with this two code, i have the same error :
await client.fetchInvite('Nk8EMTudjJ').then(async invite => { console.log(invite); await invite.acceptInvite(false); }); client.acceptInvite("https://discord.gg/Nk8EMTudjJ")
Error :
DiscordAPIError: Unknown Message at RequestHandler.execute (C:\Users\Utilisateur\Desktop\discord-spammer\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:423:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async RequestHandler.push (C:\Users\Utilisateur\Desktop\discord-spammer\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:80:14) at async Invite.acceptInvite (C:\Users\Utilisateur\Desktop\discord-spammer\node_modules\discord.js-selfbot-v13\src\structures\Invite.js:339:5) at async C:\Users\Utilisateur\Desktop\discord-spammer\app.js:30:3 at async Client.<anonymous> (C:\Users\Utilisateur\Desktop\discord-spammer\app.js:28:2) { method: 'post', path: '/invites/Nk8EMTudjJ', code: 10008, httpStatus: 403, captcha: null, requestData: { json: { captcha_key: '<captcha key>', captcha_rqtoken: 'captcha rqtoken' }, files: [] }, retries: 2 }
I dont think that the problem is the captcha because this is perfectly working for sending message or other.
Which package has the bugs?
The core library
Issue description
Hi, i try accepting an invitation using the bot.
But with this two code, i have the same error :
await client.fetchInvite('Nk8EMTudjJ').then(async invite => { console.log(invite); await invite.acceptInvite(false); });
client.acceptInvite("https://discord.gg/Nk8EMTudjJ")
Error :
DiscordAPIError: Unknown Message at RequestHandler.execute (C:\Users\Utilisateur\Desktop\discord-spammer\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:423:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async RequestHandler.push (C:\Users\Utilisateur\Desktop\discord-spammer\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:80:14) at async Invite.acceptInvite (C:\Users\Utilisateur\Desktop\discord-spammer\node_modules\discord.js-selfbot-v13\src\structures\Invite.js:339:5) at async C:\Users\Utilisateur\Desktop\discord-spammer\app.js:30:3 at async Client.<anonymous> (C:\Users\Utilisateur\Desktop\discord-spammer\app.js:28:2) { method: 'post', path: '/invites/Nk8EMTudjJ', code: 10008, httpStatus: 403, captcha: null, requestData: { json: { captcha_key: '<captcha key>', captcha_rqtoken: 'captcha rqtoken' }, files: [] }, retries: 2 }
I dont think that the problem is the captcha because this is perfectly working for sending message or other.
Code sample
Package version
2.11.0
Node.js version
v16.12.0
Operating system
window
Priority this issue should have
Low (slightly annoying)
Checklist
Additional Information
No response