mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 14:43:05 -04:00
weather
This commit is contained in:
parent
7107108cbe
commit
974f5c6a53
5 changed files with 72 additions and 1 deletions
|
@ -164,6 +164,12 @@ module.exports.urbandictionary = async function(context, query){
|
|||
})
|
||||
}
|
||||
|
||||
module.exports.weather = async function(context, location){
|
||||
return await request(Api.SEARCH_WEATHER, "GET", {}, {
|
||||
location: location
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.wikihow = async function(context, query){
|
||||
return await request(Api.SEARCH_WIKIHOW, "GET", {}, {
|
||||
q: query
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue