Can't edit a channel

I have a code for aa button that "closes" the ticket open. The code works fine, till i "re-open" the ticket back (using another button) then attempt to close it again, it does not want to edit the channel. code: https://srcb.in/OpLaW46Ac6
SourceBin
code
Instantly share your code with the world.
8 Replies
d.js toolkit
d.js toolkit9mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - 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 OP
zeyad
zeyadOP9mo ago
note: it only logs till the number 3, then stops.
chewie
chewie9mo ago
You seem to have forgotten about the channel rename ratelimit which is twice in 10 minutes
zeyad
zeyadOP9mo ago
oh is that for a single channel? or throughout the guild? ?
chewie
chewie9mo ago
single channel
zeyad
zeyadOP9mo ago
okay, thanks! another question if you mind, is there any documentations about all the ratelimits and their info? i tried searching on discord devs docs but couldn't find what i am looking for
chewie
chewie9mo ago
most ratelimits are dynamic, so no
zeyad
zeyadOP9mo ago
okay, thanks for your help
Want results from more Discord servers?
Add your server