weather v2

This commit is contained in:
derpystuff 2023-10-28 00:09:43 +02:00
parent a06f24d643
commit 911d28c46b
4 changed files with 65 additions and 60 deletions

View file

@ -176,6 +176,12 @@ module.exports.weather = async function(context, location){
})
}
module.exports.darksky = async function(context, location){
return await request(Api.UTILS_WEATHER, "GET", {}, {
location: location
})
}
module.exports.wikihow = async function(context, query){
return await request(Api.SEARCH_WIKIHOW, "GET", {}, {
q: query