response.setContentType(MediaTypes.ImagePng).status(200).end(bufferOfTheImage) if i remember correctly. Let me know if it works. We could add utility methods for this.Join the Discord to ask follow-up questions and connect with the community
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,286 Members
Join