Closes #70
This commit is contained in:
parent
524087f59f
commit
13be95f0f8
@ -13,7 +13,7 @@ async def command_toggle(app: PyroClient, message: Message):
|
||||
|
||||
await user.update_state(not user.enabled)
|
||||
|
||||
if user.enabled:
|
||||
if not user.enabled:
|
||||
await message.reply_text(
|
||||
app._("toggle_disabled", "messages", locale=user.locale)
|
||||
)
|
||||
|
Reference in New Issue
Block a user