v0.3
Some checks failed
Build and Push to Docker Hub on changes to master branch / docker (push) Has been cancelled

- added start command
- added info command
This commit is contained in:
Noah 2024-12-21 08:28:28 +01:00
parent 9c64a3e4b5
commit 453f03d832
5 changed files with 98 additions and 7 deletions

View file

@ -46,14 +46,14 @@ func watcher(bot *tgbotapi.BotAPI, steamID uint64) {
}
if strings.Contains(currentCommentsPage.CommentsHTML, steamContentCheckText) {
log.Info().Uint64("ProfileID", steamID).Msg("Found new comment(s) still being checked by Steam, retrying in "+ sleeptime.String())
log.Info().Uint64("ProfileID", steamID).Msg("Found new comment(s) still being checked by Steam, retrying in " + sleeptime.String())
time.Sleep(sleeptime)
continue
}
log.Info().Uint64("ProfileID", steamID).Msg("Found new comment(s)")
profileOwner := getPlayerDetails(steamID)
profileOwner := GetPlayerDetails(steamID)
for _, comment := range parseComments(currentCommentsPage) {
log.Debug().Interface("Comment", comment).Msg("Processing Comment")