Quick question on managers
I just wanted to ask a quick question on managers (specifically a
GuildMessageManager
): how do I use this? Is it a class I need to instantiate or what?3 Replies
- 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 OPNo
You access it using <TextChannel>.messages
Same for other managers
The only thing you need to instantiate is the client, and builders
Oh yup I see that now, thank you!