We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The core library
There is a chance to return undefined when accepting a invite. The function works normally, it just doesn't return the invite info.
const invite = await client.acceptInvite('discord.gg/invite',{ bypassOnboarding: true, bypassVerify: true }); console.log(invite) // undefined
3.1.4
v18.18.2
Windows 11
Medium (should be fixed soon)
No response
The text was updated successfully, but these errors were encountered:
https://discord.com/api/v9/invites/{code}?with_counts=true&with_expiration=true tell me the invite info (use GET to this API)
Sorry, something went wrong.
I mean the info from await client.fetchInvite, but returning in await client.acceptInvite
await client.fetchInvite
await client.acceptInvite
I don’t understand ;-; Can you describe this clearly?
I want to get the guild id form the invite but something the acceptInvite return undefined
acceptInvite
undefined
const invite = await client.acceptInvite('discord.gg/invite',{ bypassOnboarding: true, bypassVerify: true }); console.log(invite) // undefined console.log(invite.id) // undefined
very strange .-.
No branches or pull requests
Which package has the bugs?
The core library
Issue description
There is a chance to return undefined when accepting a invite.
The function works normally, it just doesn't return the invite info.
Code sample
Package version
3.1.4
Node.js version
v18.18.2
Operating system
Windows 11
Priority this issue should have
Medium (should be fixed soon)
Checklist
Additional Information
No response
The text was updated successfully, but these errors were encountered: