Skip to content

Commit

Permalink
fix: 单独Bot调用统计
Browse files Browse the repository at this point in the history
  • Loading branch information
XasYer committed Oct 30, 2024
1 parent 453bc5e commit f4b556e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/Bot/stats/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if (config.stats.rankChart.pluginUse || config.stats.countChart.plugin) {
if (name && fnc) {
incr(`YePanel:plugin:use:${name}(${fnc}):${day}`)
if (config.stats.alone && e?.self_id) {
incr(`YePanel${e.self_id}::plugin:use:${name}(${fnc}):${day}`)
incr(`YePanel:${e.self_id}:plugin:use:${name}(${fnc}):${day}`)
}
}
}
Expand Down

0 comments on commit f4b556e

Please sign in to comment.