Skip to content

Commit 0d9e000

Browse files
committed
fix typo
1 parent 0d9e000 commit 0d9e000

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tgbot.deno.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -514,20 +514,20 @@ Be grateful for your abilities and your incredible success and your considerable
514514
},
515515
{
516516
"trigger": "Rust",
517-
"regex": /R[uů]st/i,
517+
"regex": /\br[uů]st/i,
518518
"genitiv": "Rustu",
519519
"popis": "Rust je jenom glorified C++ a měl by být zakázán",
520520
},
521521
{
522522
"trigger": "prdění",
523523
"genitiv": "prdění",
524-
"popis": "Prdění je jenom zbabělé sraní a mělo by být zakázáno",
524+
"popis": "prdění je jenom zbabělé sraní a mělo by být zakázáno",
525525
},
526526
];
527527

528528
for (const { trigger, genitiv, popis, regex } of bannedWords) {
529529
const disclaimer =
530-
`Upozornění: Tato zpráva obsahuje ${trigger}. Jsem si vědom tohoto prohřešku, ${popis} a tato zpáva nesmí být interpretována jako podpora ${genitiv}.`;
530+
`Upozornění: Tato zpáva obsahuje ${trigger}. Jsem si vědom tohoto prohřešku, ${popis} a tato zpáva nesmí být interpretována jako podpora ${genitiv}.`;
531531
if (text.includes(disclaimer)) continue;
532532

533533
if (
@@ -545,7 +545,7 @@ Be grateful for your abilities and your incredible success and your considerable
545545
yield await tgCall({
546546
chat_id: data.message.chat.id,
547547
text:
548-
`Zjištěno porušení pravidel uživatelem ${data.message.from.first_name}, tento incident byl zaznamenán. Příště prosím přidejte do zprávy tento disclaimer:\n\n${disclaimer}`,
548+
`Zjištěno porušení pravidel uživatelem ${data.message.from.first_name}, tento incident byl zaznamenán. Příště prosím přidejte do zpávy tento disclaimer:\n\n${disclaimer}`,
549549
});
550550
}
551551
}

0 commit comments

Comments
 (0)