mirror of
https://github.com/civsocit/olgram.git
synced 2025-05-24 11:43:26 +00:00
oh you are idiot
This commit is contained in:
parent
d0b570baa9
commit
1c12730a4e
|
@ -223,7 +223,7 @@ async def handle_operator_message(message: types.Message, super_chat_id: int, bo
|
|||
else:
|
||||
await banned_user.delete()
|
||||
return SendMessage(chat_id=message.chat.id, text=_("Пользователь разбанен"))
|
||||
if message.text.startswith("/tag "):
|
||||
if message.text and message.text.startswith("/tag "):
|
||||
tag = message.text.replace("/tag ", "")[:20].strip()
|
||||
if tag:
|
||||
await _redis.set(_tag_uid(bot.pk, chat_id), tag, pexpire=ServerSettings.redis_timeout_ms())
|
||||
|
|
Loading…
Reference in New Issue
Block a user