fix: revert eventemitter updates

This commit is contained in:
yassinedorbozgithub
2025-05-08 08:30:27 +01:00
parent 43c7161777
commit f972cc15dd
5 changed files with 11 additions and 34 deletions

View File

@@ -107,11 +107,7 @@ export class BotStatsService extends BaseService<BotStats> {
* @param name - The name or identifier of the statistics entry (e.g., a specific feature or component being tracked).
*/
@OnEvent('hook:stats:entry')
async handleStatEntry(
type: BotStatsType,
name: string,
_subscriber: Subscriber,
): Promise<void> {
async handleStatEntry(type: BotStatsType, name: string): Promise<void> {
const day = new Date();
day.setMilliseconds(0);
day.setSeconds(0);