update changelog
All checks were successful
Build and Push Docker Image / build (push) Successful in 15s
All checks were successful
Build and Push Docker Image / build (push) Successful in 15s
This commit is contained in:
parent
f131260bbc
commit
d5dccdb533
@ -10,7 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Added
|
||||
|
||||
- Debug environment variable flag.
|
||||
- Command to build player data from existing log files.
|
||||
- Store player deaths and sessions in the db.
|
||||
- Calculate player's playtime via the sum of their stored session lengths.
|
||||
- Admin-only "build" command for player data - causes the bot to read through all older log files for data.
|
||||
|
||||
### Fixed
|
||||
|
||||
@ -20,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
- Log level dependent on the debug flag.
|
||||
- Connect to and build the database earlier into start-up.
|
||||
- Many smaller changes and improvements to the database tables for player data.
|
||||
|
||||
## [0.0.3] - 2024-12-09
|
||||
|
||||
|
@ -102,7 +102,7 @@ class Player(Model):
|
||||
# I know this is terrible efficiency-wise, but the tortoise docs
|
||||
# are so bad and the annotations don't work like Django's models. Deal with it!
|
||||
for session in sessions:
|
||||
log.info(
|
||||
log.debug(
|
||||
"playtime info:\nsession start: %s\nsession end: %s\nsession playtime: %s",
|
||||
session.connected_at,
|
||||
session.disconnected_at,
|
||||
|
Reference in New Issue
Block a user