boredActivities
Script
v4
Fork
1
2
3
4
5
6
7
8
9
import
{
fetchJSON
}
from
"https://esm.town/v/simply_say_m/fetchJSON"
;
// Activity suggestions for when you're bored
export
let
boredActivities
=
async
(
)
=>
{
const
{
activity
}
=
await
fetchJSON
(
"https://www.boredapi.com/api/activity"
,
)
;
return
activity
;
}
;