Github
Discord
Site
Searchโฆ
๐
Night-API
๐พ
Changelogs
Module
โจ
Start with the module
๐คฃ
Jokes
๐ฒ
Random
๐
Category
๐
ID
๐ธ
Images
๐ฎ
Games
Joke
๐คฃ
Informations
Images
๐
Animals
๐ฅ
SFW
๐
NSFW
Games
๐ฎ
Informations
Powered By
GitBook
๐ฒ
Random
Random joke
1
const
blague
=
await
api
.
jokes
.
random
();
// Return: Promise
Copied!
With this method, you can specify certain categories that you do not want to receive.
1
const
blague
=
await
api
.
jokes
.
random
({
2
disallow
:
[
'dark'
,
'limit'
]
3
});
// Return: Promise
Copied!
โ
Lists of available categories:
global
dev
dark
limit
beauf
blondes
Module - Previous
Jokes
Next
Category
Last modified
1mo ago
Export as PDF
Copy link