Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Open chat on voice channel discord.js v13

I know I can send messages on a voice channel’s chat panel as a discord user like so :

Open chat

Message sent in the voice channel

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

But I have no idea how to achieve the same thing using discord.js, there’s absolutely nothing I can find about this on google, the official documentation or anywhere else??

For context, this is how I send messages on (for example) a text channel:

client.channels.cache.get("id_of_the_channel").send('Test message !')

So, how to do the same on those voice channels ?

>Solution :

VoiceChannel#send() is only available from v13.8.0, so you’ll need to upgrade your discord.js to use this feature.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading