-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Description
Which package is this bug report for?
discord.js
Issue description
Timeout not checked (Related #9730):
GuildEmoji.deletableGuildInvite.deletableGuildMember.moderatableGuildMember.kickableGuildMember.bannableMessage.editableMessage.pinnableMessage.crosspostable
Timeout is not checked with additional conditions (Related #9730):
Message.bulkDeletableWhen the message was sent by the clientThreadChannel.editableWhen the thread was created by the clientThreadChannel.joinableWhen the thread is private
Permission errors:
-
Message.pinnableReadMessageHistory is not checked -
Message.pinnableDoesn't check if the channel supports pins -
ThreadChannel.editableWhen a thread is created by a client, ViewChannel and SendMessagesInThreads are not checked -
ThreadChannel.joinableFor private threads, ManageThreads is checked, but ViewChannel is not (A similar case withVoiceChannel.manageableIncorrect calculation of permissions for the voice channel #11116) -
ThreadChannel.manageableViewChannel and SendMessagesInThreads are not checked -
ThreadChannel.sendableViewChannel is not checked -
ThreadChannel.sendableWhen the thread is locked and archived ManageThreads is checked, but not when the thread is only locked -
ThreadMember.manageableWhen a public thread is created by a client, ManageThreads is not checked
Code sample
There is automated check code, but it is large
See https://github.com/vakiliner/discordjs-error-tests
If you want, you can use it, or reproduce the issues manually
Versions
discord.js - 15.0.0-dev.1761134503-697556fd1
nodejs - v25.0.0
TypeScript - Version 5.9.3
Windows 10
Issue priority
Low (slightly annoying)
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
Guilds, GuildMembers, GuildPresences, GuildMessages, MessageContent