Comments (3)
I can only reproduce this, if i call the method without arguments, which is expected. The id
argument is not optional.
Ref: #remove(id)
Detail:
discord.js/packages/discord.js/src/managers/ThreadMemberManager.js
Lines 110 to 112 in d0aa8d2
DELETE /channels/:id/thread-members/
is not part of the API
from discord.js.
I can only reproduce this, if i call the method without arguments, which is expected. The
id
argument is not optional. Ref:#remove(id)
Im using the user id
from discord.js.
validate the value of that during runtime. the error you showed is just possible if the route itself does not exist for that method (DELETE in this case), which means the route cannot be /channels/:id/thread-members/:id
. if it was, this would not cause 405
from discord.js.
Related Issues (20)
- Bad typings for auto moderation target type in audit logs
- Network errors still happening HOT 4
- TypeError: thread.members._add is not a function HOT 4
- Application Emojis HOT 2
- Client being destroyed before ready event when shard receives unexpected response 520 HOT 1
- Bot crash due to TypeError: Cannot read properties of undefined (reading 'get') handing THREAD_MEMBERS_UPDATE packet HOT 2
- Error [GuildMembersTimeout]: Members didn't arrive in time.
- Music is not playing in voice channel HOT 2
- WebSocketManager trying to access shard info while shard or shardId could be undefined HOT 6
- InteractionWebhook methods crash the app if an invalid token is provided HOT 4
- Unexpected end of JSON input when using `ZlibNative` & `zlib-stream` transport compression HOT 1
- Add USE_EXTERNAL_APPS Permission to permissionOverwrites HOT 1
- message.mentions.users.first() returns undefined HOT 2
- Group buttons produce no data in version `14.15.3` HOT 2
- Newly created emojis aren't added to cache HOT 4
- Error: Specified member is not UserResolvable. - TypeError [InvalidType]: Specified member is not a UserResolvable (ThreadMemberManager.add ) HOT 3
- Add type safety to interface AuditLogChange
- OAuth2 method for token revoke endpoint HOT 2
- Error happens when trying to edit a followup message: [Could not find the channel where this message came from in the cache!] HOT 8
- Bot prematurely ends output audio stream when I stop speaking HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord.js.