why isnt the send method listed on the docs

I'm trying to learn from the docs, but I don't understand why things aren't where I expect them to be. I know I can do channel.send(), so why doesn't it show here: https://discord.js.org/#/docs/discord.js/v13/class/Channel
Discord.js
Discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.
11 Replies
d.js docs
d.js docs3y ago
• 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.
</> Idris
</> Idris3y ago
skeddles
skeddlesOP3y ago
and what? its not there cause it's not a text channel?
</> Idris
</> Idris3y ago
yes
d.js docs
d.js docs3y ago
method TextBasedChannel#send() Sends a message to this channel.
</> Idris
</> Idris3y ago
there are only properties/methods that can be used on all channel types
skeddles
skeddlesOP3y ago
its not very clear in the docs. it should list what things inherit the thing you're looking at. searching ".send" also does not return textchannel.send(), so it's hard for new devs to find the page they're looking at
d.js docs
d.js docs3y ago
Documentation suggestion for @jaw0r3k:method BaseGuildTextChannel#send() Sends a message to this channel.
</> Idris
</> Idris3y ago
skeddles
skeddlesOP3y ago
Want results from more Discord servers?
Add your server