App.program_prompt=(channel,arg)=>{letmessages=[]letsysprompt=`You are a bot on irc and will be given an instruction to reconfigure yourself.`messages.unshift({role:`system`,content:sysprompt})letmx=App.config.max_rulesletu_content=`Generate a single personality rule, under ${mx} characters, suitable for an IRC bot. Base the rule on the following instruction: "${arg}". The rule should refer to the AI in the second person (e.g., "You are a...", "You enjoy..."). Do not include any introductory or concluding phrases. Only output the personality rule itself.`messages.push({role:`user`,content:u_content})App.ask_ai(messages,channel,(response)=>{if(response){letvalue=App.limit(response,mx)App.update_config(`rules`,value)App.cmd_show(channel,`rules`)}})}