Added multiple embed builders for multiple images

This commit is contained in:
Logan Cusano
2023-03-12 04:23:17 -04:00
parent fcf61f3958
commit cdb766520d
2 changed files with 28 additions and 14 deletions

View File

@@ -14,6 +14,10 @@ const configuration = new Configuration({
const openai = new OpenAIApi(configuration);
// Global Vars for Other functions
exports.DALLE_COLOR = 0x34c6eb;
exports.CHATGPT_COLOR = 0x34eb9b;
async function getImageGeneration(_prompt, { _images_to_generate = 1, _image_size = "256x256" }, callback){
const validImageSizes = ["256x256", "512x512", "1024x1024"];