Open NaNonnI opened 2 years ago
Hii, do you have a schedule day to release this update?
Hii, do you have a schedule day to release this update?
Hey sorry I am really busy at the moment but I can search to add the tag option and location option, we will see later (but don't hope too much, if you want the option to post picture just add my code in the package)
Future update will come. How to use; -With web picture (request-promise):
const imageBuffer = await get({ url: 'https://picsum.photos/800/800', // random picture with 800x800 size encoding: null, // this is required, only this way a Buffer is returned }); let post = client.user.postPicture(imageBuffer, "Test!") if (post) return message.chat.sendMessage("Posté!")
-Picture on disk (fs): const path = await readFileAsync("../../image.jpeg"); let post = client.user.postPicture(path, "Test!") if (post) return message.chat.sendMessage("Posté!")