Closed Swiddis closed 4 months ago
To handle built-in migration and play nicely with beartype, it's probably a good idea to type hint it as None | int
and add a __post_init__
method that initializes it to 0 if it's missing.
On second thought, this can probably be handled better by reusing the existing journal. Instead we can maybe try introducing a class that can access/read it?
Based on multiple requests (both in the server using the bot and e.g. in #23), it seems like storing accumulative words might be worth implementing. This can be added to the log command and stored as another value in a user.