From 3b0c3b775ef8f64e3c474fdd21dfd97e16e2f531 Mon Sep 17 00:00:00 2001 From: phixxy Date: Tue, 18 Jul 2023 11:10:08 -0700 Subject: [PATCH] modified draw command slightly --- sparkytron3000.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sparkytron3000.py b/sparkytron3000.py index 0b862c9..6954db8 100644 --- a/sparkytron3000.py +++ b/sparkytron3000.py @@ -1084,8 +1084,14 @@ async def draw(ctx): else: amount = 1 await ctx.send("Please be patient this may take some time!") - prompt = "Give me 11 keywords I can use to generate art using AI. They should all be related to one piece of art. Please only respond with the keywords and no other text. Be sure to use keywords that really describe what the art portrays. Keywords should be comma separated with no other text!" + + choice1 = "Give me 11 keywords I can use to generate art using AI. They should all be related to one piece of art. Please only respond with the keywords and no other text. Be sure to use keywords that really describe what the art portrays. Keywords should be comma separated with no other text!" + choice2 = "Give me some keywords about a piece of new art. They should all be related to one piece of art. Please only respond with the keywords and no other text. Be sure to use keywords that really describe what the art portrays. Keywords should be comma separated with no other text!" + choice3 = "Give me comma seperated keywords describing an imaginary piece of art. Only return the keywords and no other text." + prompt = random.choice([choice1,choice2,choice3]) prompt = await answer_question(prompt) + if random.randint(0,9): + prompt = prompt.replace("abstract, ", "") prompt = prompt.replace("AI, ", "") if "." in prompt: prompt = prompt.replace(".",",")