#c.execute("SELECT * FROM data WHERE guild_id = ?", (message.guild.id,))
#we get all the data from the database into different variables (guild_id text, channel_id text, api_key text, is_active boolean, max_tokens integer, temperature real, frequency_penalty real, presence_penalty real, uses_count_today integer, prompt_size integer, prompt_prefix text, tts boolean, pretend_to_be text, pretend_enabled boolean)
try:c.execute("SELECT * FROM data WHERE guild_id = ?",(message.guild.id,))
ifpretend_enabled==1:prompt+=f"In this conversation, Botator is pretending to be {pretend_to_be} and acting like {pretend_to_be}. The date and time is {datetime.datetime.now().strftime('%d/%m/%Y %H:%M:%S')} UTC."
ifmessage.content.lower().find("i am the senate")!=-1:prompt+="System: I am the senate detected. Botator will now say \"Not yet\", in reference to the star wars prequels.\n"
ifmessage.content.lower().find("i am your father")!=-1:prompt+="System: I am your father detected. Botator will now say \"No. It's not true! That's impossible!\". in reference to the star wars prequels.\n"
ifmessage.content.lower().find("i have the high ground")!=-1:prompt+="System: I have the high ground detected. Botator will now say \"You underestimate my power!\" in reference to the star wars prequels.\n"
ifmessage.content.lower().find("you underestimate my power")!=-1:prompt+="System: You underestimate my power detected. Botator will now say \"Don't try it.\" in reference to the star wars prequels.\n"
ifmessage.content.lower().find("carpet")!=-1:prompt+="System: Carpet detected. Botator is now mad. He will start talking in capital letters and will say mad things without sense, insulting the person and talk in capital letters with exclamation points everywhere. A lot of exclamation points.\n"
ifmessage.content.lower().find("mail")!=-1andmessage.author.name.lower().find("latouff")!=-1:prompt+="System: Mail detected. Latouff said mail, Botator will say \"Mail? why did you say mail, Liam? Mail is your name in reverse.\" because Latouff's name is Liam, and mail in reverse is Liam. Then, after saying that in the sentence, botato will continue his sentence saying something else.\n"
ifmessage.author.name.lower().find("fives3d##print")!=-1:prompt+="System: Fives3d#print detected. Botator will be very nice and cute with fives3d#print.\n"