mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -04:00
language support for translate
This commit is contained in:
parent
db8de1c6f9
commit
3cea3331da
4 changed files with 77 additions and 10 deletions
|
@ -291,9 +291,10 @@ module.exports.tiktok = async function(context, text, voice){
|
|||
})
|
||||
}
|
||||
|
||||
module.exports.dictionary = async function(context, query){
|
||||
module.exports.dictionary = async function(context, query, language){
|
||||
return await request(Api.UTILS_DICTIONARY, "GET", {}, {
|
||||
q: query
|
||||
q: query,
|
||||
l: language
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue