better logging, stats tracking command, clean up url warning, user permissions on settings

This commit is contained in:
Aidan 2025-07-01 12:26:51 -04:00
parent 23ebd021f3
commit a952ddfc67
7 changed files with 340 additions and 251 deletions

View file

@ -74,7 +74,7 @@
"languageCode": "Language",
"thinking": "Thinking...",
"finishedThinking": "Done.",
"urlWarning": "\n\n⚠ The user provided one or more URLs in their message. Please do not visit any suspicious URLs.",
"urlWarning": "\n\n⚠ Note: The model cannot access or visit links!",
"inQueue": " You are {position} in the queue.",
"startingProcessing": "✨ Starting to process your request...",
"systemPrompt": "You are a friendly assistant called {botName}, capable of Telegram MarkdownV2.\nYou are currently in a chat with a user, who has sent a message to you.\nCurrent Date/Time (UTC): {date}\n\n---\n\nRespond to the user's message:\n{message}",
@ -182,5 +182,10 @@
"pong": "Pong in {ms}ms.",
"botInfo": "Kowalski is a multipurpose bot with a variety of features, including AI, moderation, and more.",
"credits": "Kowalski was created by ihatenodejs/Aidan, with contributions from the open-source community. It is licensed under the Unlicense license."
},
"aiStats": {
"header": "✨ *Your AI Usage Stats*",
"requests": "*Total AI Requests:* {aiRequests}",
"characters": "*Total AI Characters:* {aiCharacters}\n_That's around {bookCount} books of text!_"
}
}

View file

@ -72,7 +72,7 @@
"askNoMessage": "Você precisa fazer uma pergunta\\.",
"thinking": "Pensando\\.\\.\\.",
"finishedThinking": "Pronto\\.",
"urlWarning": "\n\n⚠ O usuário forneceu um ou mais URLs na sua mensagem\\. Por favor, não visite URLs suspeitos\\.",
"urlWarning": "\n\n⚠ Nota: O modelo de IA não pode acessar ou visitar links!",
"inQueue": " Você é o {position} na fila.",
"startingProcessing": "✨ Começando a processar o seu pedido\\.\\.\\.",
"aiEnabled": "IA",
@ -179,5 +179,10 @@
"gsmarenaNotAllowed": "você não tem permissão para interagir com isso.",
"gsmarenaInvalidOrExpired": "Ops! Opção inválida ou expirada. Por favor, tente novamente.",
"gsmarenaDeviceDetails": "estes são os detalhes do seu dispositivo:",
"gsmarenaErrorFetchingDetails": "Erro ao buscar detalhes do celular."
"gsmarenaErrorFetchingDetails": "Erro ao buscar detalhes do celular.",
"aiStats": {
"header": "✨ *Suas estatísticas de uso de IA*",
"requests": "*Total de requisições de IA:* {aiRequests}",
"characters": "*Total de caracteres de IA:* {aiCharacters}\n_Isso é cerca de {bookCount} livros de texto!_"
}
}