This commit is contained in:
2024-02-10 18:04:19 +00:00
parent e2a10475e3
commit 468776859e

View File

@@ -28,13 +28,15 @@ class GenericmessageCommand extends SystemCommand
'大佬' => 'da lao',
'丸吞' => 'vore',
'哦不' => 'oh no',
'哦哇塞' => 'o wa sai'
'哦哇塞' => 'o wa sai',
'色色' => 'hentai',
];
private const EN_TO_ZH = [
'fursona' => '兽设',
'furry character' => '兽人',
'furry' => '兽控',
'fursuit' => '兽装',
'hentai' => '色色',
'sese' => '色色',
'sheshe' => '射射',
'wun tun' => '丸吞',
@@ -53,7 +55,7 @@ class GenericmessageCommand extends SystemCommand
$chat_id = $message->getChat()->getId();
if(!in_array($chat_id, $allowed_chat_ids)) {
return $this->replyToChat("Chat ID $chat_id not allowed");
return $this->replyToChat("Chat ID `$chat_id` not allowed");
}
$text = $message->getText(true) ?? $message->getCaption();