update quora command to allow for more questions

This commit is contained in:
derpystuff 2023-01-12 14:40:01 +01:00
parent 94bee05892
commit 2b618e536e
5 changed files with 100 additions and 7 deletions

View file

@ -124,6 +124,12 @@ module.exports.quora = async function(context, query){
})
}
module.exports.quoraResult = async function(context, reference){
return await request(Api.SEARCH_QUORA_RESULT, "GET", {}, {
ref: reference
})
}
module.exports.reddit = async function(context, query, nsfw = false){
return await request(Api.SEARCH_REDDIT, "GET", {}, {
q: query,