$tts
Sends a Text-To-Speech message to the defined channel.

FUNCTION USAGE

  • $tts[channelID;message]
  • $tts[channelID;message;no]

Properties:

channelID - The channelID to send the message. message - The message to be spoken. no - If you want the message to be sent without Text-To-Speech.

Example 1: Sends a Text-To-Speech message

bot.Command({
name: "test",
code: `
$tts[$channelID;Hello]
`
})

Example 2: Sends a normal message without Text-To-Speech

bot.Command({
name: "test",
code: `
$tts[$channelID;Hello;no]
`
})
Last modified 1yr ago
Copy link