kopia lustrzana https://github.com/mkdryden/telegram-stats-bot
rodzic
75560be5dc
commit
552f65dcf6
|
@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
|
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
|
||||||
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
|
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
|
||||||
|
----------
|
||||||
|
`0.8.1`_ - 2023-11-17
|
||||||
|
----------
|
||||||
|
Fixed
|
||||||
|
-----
|
||||||
|
- Fix Sqlalchemy related username insertion bug
|
||||||
|
- Fix exception when backup store is disabled
|
||||||
|
|
||||||
----------
|
----------
|
||||||
`0.8.0`_ - 2023-11-13
|
`0.8.0`_ - 2023-11-13
|
||||||
|
@ -173,3 +180,4 @@ Fixed
|
||||||
.. _0.6.3: https://github.com/mkdryden/telegram-stats-bot/releases/tag/v0.6.3
|
.. _0.6.3: https://github.com/mkdryden/telegram-stats-bot/releases/tag/v0.6.3
|
||||||
.. _0.7.0: https://github.com/mkdryden/telegram-stats-bot/releases/tag/v0.7.0
|
.. _0.7.0: https://github.com/mkdryden/telegram-stats-bot/releases/tag/v0.7.0
|
||||||
.. _0.8.0: https://github.com/mkdryden/telegram-stats-bot/releases/tag/v0.8.0
|
.. _0.8.0: https://github.com/mkdryden/telegram-stats-bot/releases/tag/v0.8.0
|
||||||
|
.. _0.8.1: https://github.com/mkdryden/telegram-stats-bot/releases/tag/v0.8.1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "telegram-stats-bot"
|
name = "telegram-stats-bot"
|
||||||
version = "0.8.0"
|
version = "0.8.1"
|
||||||
description = "A logging and statistics bot for Telegram based on python-telegram-bot."
|
description = "A logging and statistics bot for Telegram based on python-telegram-bot."
|
||||||
authors = ["Michael DM Dryden <mk.dryden@utoronto.ca>"]
|
authors = ["Michael DM Dryden <mk.dryden@utoronto.ca>"]
|
||||||
repository = "https://github.com/mkdryden/telegram-stats-bot"
|
repository = "https://github.com/mkdryden/telegram-stats-bot"
|
||||||
|
|
|
@ -77,6 +77,7 @@ async def log_message(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
||||||
if len(user) > 0:
|
if len(user) > 0:
|
||||||
for i in user:
|
for i in user:
|
||||||
if i:
|
if i:
|
||||||
|
if bak_store:
|
||||||
bak_store.append_data('user_events', i)
|
bak_store.append_data('user_events', i)
|
||||||
store.append_data('user_events', i)
|
store.append_data('user_events', i)
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue