Nekos-life / nekos-dot-life

Nekos.life wrapper.
MIT License
166 stars 33 forks source link

How Do I send this as a Message Embed with the picture #29

Closed Nsadow311 closed 4 years ago

Nsadow311 commented 4 years ago

This is a problem on my end for sure, but I am confused as to how I turn this

const client = require('nekos.life'); const neko = new client();

neko.nsfw.neko().then(neko => {console.log(neko);});

Into a message embed with a picture each time.

IamTails commented 4 years ago

That is a very vague unanswerable question, you leave out many things such as what library you're using additionally this is not the place for questions, please see the official discord server you can find the invite at nekos.life

To attempt to answer your question by guessing which library you are using

discord.MessageEmbed().setImage(neko.url)

You would create an embed like so and then send it. For more help, again see the official server. p.s I recommend you read https://stackoverflow.com/help/how-to-ask