def del_sticker(bot, update): chat = update.effective_chat if sql.is_locked(chat.id, "sticker") and can_delete(chat, bot.id): update.effective_message.delete()