feat: update fnametmpl help

This commit is contained in:
krau
2026-01-06 09:21:05 +08:00
parent 63aeabb39b
commit 1339c69dbf
2 changed files with 2 additions and 0 deletions

View File

@@ -274,6 +274,7 @@ bot:
- {{"{{.msgtags}}"}}: Tags in the message, joined with underscore - {{"{{.msgtags}}"}}: Tags in the message, joined with underscore
- {{"{{.msggen}}"}}: Generated filename from the message - {{"{{.msggen}}"}}: Generated filename from the message
- {{"{{.msgdate}}"}}: Message date, format YYYY-MM-DD_HH-MM-SS - {{"{{.msgdate}}"}}: Message date, format YYYY-MM-DD_HH-MM-SS
- {{"{{.msgraw}}"}}: Raw message text (unprocessed)
- {{"{{.origname}}"}}: Original media filename (if any) - {{"{{.origname}}"}}: Original media filename (if any)
- {{"{{.chatid}}"}}: Chat ID of the message - {{"{{.chatid}}"}}: Chat ID of the message

View File

@@ -276,6 +276,7 @@ bot:
- {{"{{.msgtags}}"}}: 消息中的标签, 将以下划线分隔输出 - {{"{{.msgtags}}"}}: 消息中的标签, 将以下划线分隔输出
- {{"{{.msggen}}"}}: 根据消息生成的文件名 - {{"{{.msggen}}"}}: 根据消息生成的文件名
- {{"{{.msgdate}}"}}: 消息日期, 格式 YYYY-MM-DD_HH-MM-SS - {{"{{.msgdate}}"}}: 消息日期, 格式 YYYY-MM-DD_HH-MM-SS
- {{"{{.msgraw}}"}}: 消息的原始文本内容 (不经任何处理)
- {{"{{.origname}}"}}: 媒体的原始文件名 (如果有) - {{"{{.origname}}"}}: 媒体的原始文件名 (如果有)
- {{"{{.chatid}}"}}: 消息的聊天ID - {{"{{.chatid}}"}}: 消息的聊天ID