mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 22:23:03 -04:00
- make tts use subcommands
- add moonbase
This commit is contained in:
parent
5c4a02f08f
commit
cc37d5f50b
9 changed files with 87 additions and 32 deletions
|
@ -254,6 +254,12 @@ module.exports.imtranslator = async function(context, text, voice){
|
|||
})
|
||||
}
|
||||
|
||||
module.exports.moonbase = async function(context, text){
|
||||
return await request(Api.TTS_MOONBASE, "GET", {}, {
|
||||
text
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.playht = async function(context, text, voice){
|
||||
return await request(Api.TTS_PLAYHT, "GET", {}, {
|
||||
text: text,
|
||||
|
@ -284,13 +290,6 @@ module.exports.tiktok = async function(context, text, voice){
|
|||
})
|
||||
}
|
||||
|
||||
module.exports.voiceforge = async function(context, text, voice){
|
||||
return await request(Api.TTS_VOICEFORGE, "GET", {}, {
|
||||
text: text,
|
||||
voice: voice
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.emojipedia = async function(context, emoji){
|
||||
return await request(Api.UTILS_EMOJIPEDIA, "GET", {}, {
|
||||
emoji: emoji
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue