- make tts use subcommands

- add moonbase
This commit is contained in:
derpystuff 2023-04-19 00:47:45 +02:00
parent 5c4a02f08f
commit cc37d5f50b
9 changed files with 87 additions and 32 deletions

View file

@ -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