#DiscordAPIError[0]: 405: Method Not Allowed

15 messages · Page 1 of 1 (latest)

sturdy acornBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

twilit flower
#

are you removing everyone who joins a thread the moment they join?

#

well, yes, cause you use firstKey, nothing unexpected there

#

also

#

why are you doing this?

#

why remove people the moment they join

#

what does that mean

#

yeah that's not quite how that should work

#

is the menu supposed to be there long term?

#

then instead of this circus with abusing threads, just send an ephemeral message reply to the button

#

it can have the embed and select menu

#

btw

#

the issue you have is because the update also fires after you remove someone

#

but there's no one added

#

so your firstKey is empty