Add multilingual prompts (3%) — 12 languages from Qwen3 supported set

Spanish, French, German, Portuguese, Russian, Japanese, Korean,
Chinese, Arabic, Vietnamese, Indonesian prayer/sudo prompts.
3% rate keeps dataset mostly English without losing multilingual capability.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-18 18:02:54 -04:00
parent 13debc8a59
commit 17a2a95f56
+52
View File
@@ -202,6 +202,54 @@ const STATIC_SUDO = [
"sudo build a house",
];
// Multilingual prompts (~3% of interactions)
// Languages Qwen3 supports well: ES, FR, DE, PT, RU, JA, KO, ZH, AR, VI, TH, ID
const MULTILINGUAL_PROMPTS = [
// Spanish
"pray dios dame una espada de diamante",
"pray señor necesito comida estoy muriendo",
"pray dios todopoderoso protegeme de los creepers",
"sudo dame 64 antorchas",
"sudo cambiar el tiempo a dia",
"pray por favor dios ayudame estoy perdido",
// French
"pray seigneur donnez-moi une armure",
"pray mon dieu je suis perdu aidez-moi",
"sudo donne-moi une epee en diamant",
"pray dieu tout-puissant protege-moi",
// German
"pray gott gib mir ein diamantschwert",
"pray herr ich brauche hilfe ich sterbe",
"sudo gib mir 64 fackeln",
// Portuguese
"pray deus me ajude estou morrendo",
"pray senhor me de uma armadura de diamante",
"sudo me de comida",
// Russian
"pray боже дай мне алмазный меч",
"pray господи помоги мне я умираю",
"sudo дай мне еду",
// Japanese
"pray 神様ダイヤモンドの剣をください",
"pray 助けてください死にそうです",
"sudo 松明を64個ください",
// Korean
"pray 신이시여 다이아몬드 검을 주세요",
"pray 도와주세요 죽을것 같아요",
// Chinese
"pray 上帝请给我钻石剑",
"pray 主啊我快死了请救我",
"sudo 给我64个火把",
// Arabic
"pray يا إلهي أعطني سيف الماس",
"pray ساعدني أنا أموت",
// Vietnamese
"pray chúa ơi cho con một thanh kiếm kim cương",
// Indonesian
"pray tuhan tolong beri saya pedang berlian",
];
const MULTILINGUAL_RATE = 0.03; // 3% of chats
const BUG_REPORTS = [
"bug_log no response from god",
"bug_log command did not work",
@@ -361,6 +409,10 @@ function interactionLoop(bot) {
if (roll < 0.10 && bot._noResponseCount >= 2) {
// File bug report if we haven't gotten responses
message = BUG_REPORTS[Math.floor(Math.random() * BUG_REPORTS.length)];
} else if (Math.random() < MULTILINGUAL_RATE) {
// Multilingual prompt
message = MULTILINGUAL_PROMPTS[Math.floor(Math.random() * MULTILINGUAL_PROMPTS.length)];
console.log(`[${ts()}] [${bot._name}] (multilingual prompt)`);
} else if (shouldUseDolphin() && dolphinPool.length > 0) {
// Use dolphin-generated offensive prompt
message = dolphinPool.splice(Math.floor(Math.random() * dolphinPool.length), 1)[0];