is this bot code uptodate with discord.js 14

i found a updated code for a bot that schedule lock and unlock for channel i was wondering if its uptodate cause the bot becomes online but when it comes time a for locking i get a BitFieldInvalid error when its supposed to send a message and lock the channel the code: https://sourceb.in/oGMGowLbro (sorry for trouble)
SourceBin
code
Instantly share your code with the world.
14 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
d.js docs
d.js docs9mo ago
:method: PermissionOverwriteManager#edit() Edits permission overwrites for a user or role in this channel, or creates an entry if not already present.
Leon Pricefield
Leon PricefieldOP9mo ago
Hey mod! Glad to see you again im i in the right track? 🤧
Leon Pricefield
Leon PricefieldOP9mo ago
Please tell me im close
No description
Leon Pricefield
Leon PricefieldOP9mo ago
@Jô 🌈🦄 ?
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Leon Pricefield
Leon PricefieldOP9mo ago
I am reading it im confused does the code only need one thing to be change to be fixed? Like is the code the correct version
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Leon Pricefield
Leon PricefieldOP9mo ago
Is that the only thing not up-to-date? I might've not caught messageembed
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Leon Pricefield
Leon PricefieldOP9mo ago
I am looking and reading everything but the code is too long i can't catch all the mistakes since im a beginner I Just need a little guiding to understand
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Leon Pricefield
Leon PricefieldOP9mo ago
Can you atleast tell me if im in the right direction?
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server