must delete

This commit is contained in:
levina 2022-01-20 21:41:05 +07:00 committed by GitHub
parent bd57a55c8d
commit 36f65c0df7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,7 @@ async def update_admin(client, message):
@Client.on_message(command(["skip", f"skip@{BOT_USERNAME}", "vskip"]) & other_filters)
@authorized_users_only
async def skip(client, m: Message):
await m.delete()
user_id = m.from_user.id
chat_id = m.chat.id
if len(m.command) < 2: