feat: add command execution times counter

This commit is contained in:
2024-11-07 17:07:05 +08:00
parent 5320836d26
commit 42c215420a
3 files changed
+34

No files matched your search

@@ -273,6 +273,7 @@ suspend fun main() {
WSType.Client -> ROneBotFactory.createClient(configManager.wsAddress, accessToken, fancyBot)
WSType.Server -> ROneBotFactory.createServer(configManager.wsPort, accessToken, fancyBot)
}
ROneBotFactory.interceptor = CommandInterceptor()
instance.addListeningGroups(*configManager.listeningGroups.toLongArray())
initDatabase()
initFilesDir()