Skip to content

Commit

Permalink
remove timestamp from log message, part of format instead
Browse files Browse the repository at this point in the history
  • Loading branch information
ephphatha committed Mar 16, 2024
1 parent 73a9c8a commit 3a03365
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions discord_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,7 @@ async def background_task() -> None:
# Load the output as a JSON list
games = json.loads(output)

ct = datetime.datetime.now()
logger.info('[' + str(ct) + '] Refreshing game list - ' + str(len(games)) + ' games')
logger.info('Refreshing game list - ' + str(len(games)) + ' games')

for game in games:
if any_player_name_is_invalid(game['players']) or any_player_name_contains_a_banned_word(game['players']):
Expand Down

0 comments on commit 3a03365

Please sign in to comment.