mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-04-29 22:27:31 +00:00
refactor(bot): 修正提示信息错误, 移除空父类方法调用.
修正了运行指标信息中的拼写错误, 移除对无操作父类方法的调用, 这么做可以明确表明只有子类实现了操作.
This commit is contained in:
parent
478480014a
commit
8174f2a3a2
@ -114,7 +114,6 @@ internal class ScalaBot(
|
||||
}
|
||||
|
||||
override fun onClosing() {
|
||||
super.onClosing()
|
||||
onlineBotGauge.dec()
|
||||
}
|
||||
|
||||
@ -151,7 +150,7 @@ internal class ScalaBot(
|
||||
private val updateProcessTime = Summary.build()
|
||||
.name("update_process_duration_seconds")
|
||||
.help(
|
||||
"Time to process update. (This indicator includes the pre-processing of update by TelegrammBots, " +
|
||||
"Time to process update. (This indicator includes the pre-processing of update by TelegramBots, " +
|
||||
"so it may be different from the actual execution time of ability. " +
|
||||
"It is not recommended to use it as the accurate execution time of ability)"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user