Extending Guild, Channel, Member etc - TypeScript

Is it possible to extend upon Guild, Channel, Member etc objects? I have tried extending them but the constructors require data which I don't have access to, fe
RawGuildData
RawGuildData
Am I trying to extend upon completely wrong objects or It is simply not possible?
3 Replies
d.js toolkit
d.js toolkit16mo 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
space
space16mo ago
You are indeed not supposed to extend them.
Rob
RobOP16mo ago
Gotcha! Thank you for swift answer.

Did you find this page helpful?