actually push the command code this time (yt category search)

This commit is contained in:
derpystuff 2023-07-28 00:48:15 +02:00
parent 6eb4033da7
commit 3380e1949d
3 changed files with 17 additions and 8 deletions

View file

@ -188,9 +188,10 @@ module.exports.wolframAlpha = async function(context, query){
})
}
module.exports.youtube = async function(context, query){
module.exports.youtube = async function(context, query, category){
return await request(Api.SEARCH_YOUTUBE, "GET", {}, {
q: query
q: query,
category
})
}