GoogleCloudTTSPlugin
API reference for the GoogleCloudTTSPlugin in Moonlink.js
GoogleCloudTTSPlugin Class
The GoogleCloudTTSPlugin
provides Text-to-Speech (TTS) functionality using Google Cloud TTS. It declares the search:tts
capability, allowing the player to use this plugin for TTS requests.
This plugin requires a Lavalink server with the Google Cloud TTS plugin installed.
Properties
Property | Type | Description |
---|---|---|
name | string | The name of the plugin: Google Cloud TTS . |
capabilities | string[] | Declares search:tts capability. |
Methods
load
loadmethod
Load Plugin
Initializes the plugin for a given node. This plugin primarily declares a capability and does not require complex initialization.
Parameters
noderequiredNode
Returns & Example
Returns
• void
// Called internally by PluginManager
::
unload
unloadmethod
Unload Plugin
Cleans up plugin resources. This plugin does not require complex cleanup.
Parameters
noderequiredNode
Returns & Example
Returns
• void
// Called internally by PluginManager