randomyuiz
RandomYuiz API wrapper for Node.js
Installing
# npm npm i randomyuizyarn add randomyuiz
Example Usage
.animeImage(type)
- type = "anime", "chika", "hayasaka", "kaguyashinomiya", "megumin", "oyasumi", "rem", "zerotwo"
{ const randomyuiz = ; let data = ; let img = await data; //You can change "anime" with following options above console //return an image}
.filterImage(type, imageURL)
- type = "sepia", "grayscale", "invert"
- imageURL(url) = (REQUIRED)
{ const randomyuiz = ; let data = ; let img = await data; //if imageURL empty, it will return default image as example console //return an image}
Discord.js Example
{ const randomyuiz = ; let data = ; let images = await data; msgchannel; //result}