mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-12 16:13:05 -04:00
actually push the command code this time (yt category search)
This commit is contained in:
parent
6eb4033da7
commit
3380e1949d
3 changed files with 17 additions and 8 deletions
|
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue