how to do text to speech in discord voice chat code example
Example: discord say command
client.on('message', message => {
if (message.content.startsWith(prefix + 'say')) {
if (message.author.bot) return;
const SayMessage = message.content.slice(4).trim();
message.channel.send("**" + SayMessage + "**")
message.channel.send("- " + `**${message.author}**`)
}
});