🅱 BruhAPI
Welcome to the official BruhAPI NPM package! This package has many things to play around with such as text to image, random jokes & facts, random subreddit images, and more! A documentation of how to use each feature can be found below.
Initialize BruhAPI NPM
const bruh = require("bruhapi")
*Each module should be wrapped in an async function.
List of Features
tts("text")
- text to speechspotify("discordID")
- get user's playing spotify songcb("text")
- talk to cleverbot FREEtti("text")
- text to image
joke()
- random jokeword()
- random wordfact()
- random fact
sub("sub_name")
- random image from subreddittaco()
- random taco image
Examples
For more examples, check the examples.js
file on GitHub.
const bruh = require("bruhapi")
async function test() {
console.log(await bruh.joke())
}
test()
If you have any questions, please join our Discord server!