mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-21 20:37:03 -04:00
a lot of thingssss
This commit is contained in:
parent
eb0ba140f3
commit
726861294b
14 changed files with 420 additions and 24 deletions
|
@ -16,7 +16,9 @@ const Api = Object.freeze({
|
|||
SEARCH_BING_IMAGES: '/search/bing-images',
|
||||
SEARCH_WOLFRAM_ALPHA: '/search/wolfram-alpha',
|
||||
|
||||
PHOTOFUNIA_YACHT: '/photofunia/yacht'
|
||||
PHOTOFUNIA_YACHT: '/photofunia/yacht',
|
||||
|
||||
INFERKIT: '/inferkit',
|
||||
})
|
||||
|
||||
const Static = Object.freeze({
|
||||
|
|
|
@ -82,6 +82,12 @@ module.exports.yacht = async function(context, text){
|
|||
})
|
||||
}
|
||||
|
||||
module.exports.inferkit = async function(context, input){
|
||||
return await request(Api.INFERKIT, "GET", {}, {
|
||||
input: input
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.emojiTwitter = async function(codepoint){
|
||||
return Static.HOST + Static.TWITTER(codepoint)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue