Skip to content

Commit

Permalink
rm logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Geczy committed Aug 20, 2023
1 parent d1e1cd3 commit 3425e5c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/dota/src/dota/events/EventHandler.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { logger } from '../../utils/logger.js'
import { events } from '../globalEventEmitter.js'
import { GSIHandler } from '../GSIHandler.js'
import { gsiHandlers } from '../lib/consts.js'
Expand Down
1 change: 0 additions & 1 deletion packages/dota/src/dota/events/gsi-events/newdata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ eventHandler.registerEvent(`newdata`, {
} = getValueOrDefault(DBSettings.chatters, dotaClient.client.settings)
if (chattersEnabled && midasChatterEnabled && dotaClient.client.stream_online) {
const isMidasPassive = await checkMidas(data, dotaClient.getToken())
console.log({ isMidasPassive })
chatMidas(dotaClient, isMidasPassive)
}
},
Expand Down
2 changes: 0 additions & 2 deletions packages/dota/src/dota/lib/checkMidas.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { t } from 'i18next'

import { Packet } from '../../types.js'
import { logger } from '../../utils/logger.js'
import { GSIHandler, redisClient } from '../GSIHandler.js'
import { findItem } from './findItem.js'

Expand All @@ -20,7 +19,6 @@ export function chatMidas(dotaClient: GSIHandler, isMidasPassive: number | boole
}),
)
} else if (isMidasPassive) {
logger.info('[MIDAS] Passive midas', { name: dotaClient.getChannel() })
dotaClient.say(t('chatters.midas', { emote: 'massivePIDAS', lng: dotaClient.client.locale }))
}
}
Expand Down

0 comments on commit 3425e5c

Please sign in to comment.