remove audio detection because nobody uses it anyways

This commit is contained in:
derpystuff 2023-04-14 10:53:00 +02:00
parent d8ab4e1810
commit 896ac7d400
3 changed files with 22 additions and 71 deletions

View file

@ -25,7 +25,6 @@ const Api = Object.freeze({
PHOTOFUNIA_RETRO_WAVE: '/photofunia/retro-wave',
PHOTOFUNIA_YACHT: '/photofunia/yacht',
SEARCH_AUDIO: '/search/audio',
SEARCH_BING: '/search/bing',
SEARCH_BING_IMAGES: '/search/bing-images',
SEARCH_DICTIONARY: '/search/dictionary',

View file

@ -92,12 +92,6 @@ module.exports.googleVisionWebDetection = async function(context, url){
})
}
module.exports.searchAudio = async function(context, url){
return await request(Api.SEARCH_AUDIO, "GET", {}, {
url: url
})
}
module.exports.lyrics = async function(context, query){
return await request(Api.SEARCH_LYRICS, "GET", {}, {
q: query