a lot of thingssss

This commit is contained in:
derpystuff 2022-05-23 23:14:57 +02:00
parent eb0ba140f3
commit 726861294b
14 changed files with 420 additions and 24 deletions

View file

@ -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({

View file

@ -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)
}