mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 22:23:03 -04:00
dictionary v2
This commit is contained in:
parent
c2c8241080
commit
6a3fb1dde3
4 changed files with 40 additions and 27 deletions
|
@ -158,12 +158,6 @@ module.exports.bingImages = async function(context, query, nsfw){
|
|||
})
|
||||
}
|
||||
|
||||
module.exports.dictionary = async function(context, query){
|
||||
return await request(Api.SEARCH_DICTIONARY, "GET", {}, {
|
||||
q: query
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.reverseImageSearch = async function(context, url){
|
||||
return await request(Api.SEARCH_REVERSE_IMAGE, "GET", {}, {
|
||||
url: url
|
||||
|
@ -290,6 +284,12 @@ module.exports.tiktok = async function(context, text, voice){
|
|||
})
|
||||
}
|
||||
|
||||
module.exports.dictionary = async function(context, query){
|
||||
return await request(Api.UTILS_DICTIONARY, "GET", {}, {
|
||||
q: query
|
||||
})
|
||||
}
|
||||
|
||||
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