Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion plugins/eew/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -739,8 +739,10 @@ func (p *EEWPlugin) processEEWEvent(bot bot.Bot, event EEWEvent) {
sb.WriteString(fmt.Sprintf("预估烈度: %.1f 度 (%s)\n", localIntensity, GetIntensityDesc(localIntensity)))
}
if p.cfg.ShowEventID && event.EventID != "" {
sb.WriteString(fmt.Sprintf("事件ID: %s", event.EventID))
sb.WriteString(fmt.Sprintf("事件ID: %s\n", event.EventID))
}
sb.WriteString("--------------------------------\n")
sb.WriteString("注意安全,请勿惊慌\n")

msgText := strings.TrimSpace(sb.String())

Expand Down
2 changes: 1 addition & 1 deletion plugins/eew/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "地震预警与气象速报",
"description": "实时推送全国地震预警与速报,支持震中距与本地烈度估算、定时天气排行播报及 Cloudflare 自动降级",
"author": "oldplum",
"version": "1.3.0",
"version": "1.3.1",
"platforms": ["qq", "feishu", "telegram", "discord", "qqofficial"],
"tags": ["预警", "防灾", "天气", "工具"],
"api_version": 1,
Expand Down
Loading