#Property 'SoundboardSoundCreate' does not exist on type 'typeof AuditLogEvent'
16 messages · Page 1 of 1 (latest)
- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
✅Marked as resolved by staff
└─┬ [email protected]
├─┬ @discordjs/[email protected]
│ └── [email protected]
├─┬ @discordjs/[email protected]
│ └── [email protected]
├─┬ @discordjs/[email protected]
│ └── [email protected]
├─┬ @discordjs/[email protected]
│ └── [email protected]
└── [email protected]
i also dont have the SoundboardSound type for some reason
well as mentioned in #djs-help-v14, that was added to discord-api-types in 0.37.103, therefore your version won't have it
what amgelo was probably missing is that the pr for unpinning discord-api-types came after the latest stable version, so it'd still use 0.37.100 on a fresh install
you could manually override/resolve a discord-api-types version in your package.json, or you can wait for the next release
as for soundboard sounds actually being supported in discord.js, the pr for that still has yet to be merged
#10590 in discordjs/discord.js by sdanialraza created <t:1730831500:R> (review required)
feat: add soundboard
so is my issue just my issue or did it happen to everyone else too?
everyone using the latest stable version
again, the issue is that what you're trying to use was implemented after the latest stable version
okay how do i use the appropriate types version?
in your package.json, add
"overrides": {
"discord-api-types": "0.37.103"
}
do i need to do npm install after that?
ty, and how do i import SoundboardSound?
not until that PR got merged and released