dictionary v2

This commit is contained in:
derpystuff 2023-07-09 17:56:47 +02:00
parent c2c8241080
commit 6a3fb1dde3
4 changed files with 40 additions and 27 deletions

View file

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