how to search for a voice channel within a guild using discord.js 1

how to search for a voice channel within a guild using discord.js

let channel = message.guild.channels.cache.get(channelid)

Here is what the above code is Doing:
1. It’s getting the channel ID from the database.
2. It’s getting the channel from the guild.

Similar Posts