6 Commits

3 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ logger = logging.getLogger(__name__)
class PyroClient(LibPyroClient): class PyroClient(LibPyroClient):
def __init__(self, **kwargs): def __init__(self, **kwargs):
self.__version__ = (0, 1, 2) self.__version__ = (0, 1, 3)
super().__init__(**kwargs) super().__init__(**kwargs)

View File

@@ -13,7 +13,7 @@ async def command_toggle(app: PyroClient, message: Message):
await user.update_state(not user.enabled) await user.update_state(not user.enabled)
if user.enabled: if not user.enabled:
await message.reply_text( await message.reply_text(
app._("toggle_disabled", "messages", locale=user.locale) app._("toggle_disabled", "messages", locale=user.locale)
) )

View File

@@ -1,6 +1,6 @@
aiohttp~=3.10.2 aiohttp~=3.10.2
apscheduler~=3.10.4 apscheduler~=3.10.4
async_pymongo==0.1.7 async_pymongo==0.1.9
convopyro==0.5 convopyro==0.5
mongodb-migrations==1.3.1 mongodb-migrations==1.3.1
pytz>=2024.1 pytz>=2024.1